Ravelry API Documentation
Last updated 2026-03-30
Welcome!
Once you decide which type of credentials you need, create your App and keys by visiting https://www.ravelry.com/pro/developer. If you do not already have a free Pro account you’ll be prompted to create one.
This documentation lists the API methods, inputs, and outputs but it doesn't describe
how
to put it all together. You may find the Ravelry API group to be helpful.
You are also very welcome to email us at api@ravelry.com.
Most API improvements originate from requests from users.
Accessing Ravelry with HTTP Basic Auth: read only access
If you only need to use read-only API methods, read-only Basic Auth is the simplest way to get started.
When you use your read-only credentials, you will only be able to call
API methods that are not marked as "authenticated" in the documentation.
Use HTTP Basic Authentication with your HTTP client and supply the
username and password taken from your app's credentials. SSL is
required.
Example:
curl -u basic_auth_username:basic_auth_password https://api.ravelry.com/current_user.json
Authenticating via HTTP Basic Auth: personal account access
If you only need to sign in to Ravelry as yourself, you can use this
simple method to access the API. You do not have to request specific
permissions when authenticating this way - all permissions are granted.
Use HTTP Basic Authentication with your HTTP client and supply your
access key as the username and your personal key (not your secret key)
as the password. Note that SSL is required: you will receive a 403 error
if you do not use HTTPS.
IMPORTANT: "Basic Auth: personal account access" credentials provide
full access to the Ravelry account that they are associated with.
This is intended for personal projects.
A quick example:
curl -u basic_auth_username:basic_auth_personal_key https://api.ravelry.com/current_user.json
Authenticating with Ravelry via OAuth 2.0
Use your client ID and client secret to authenticate with Ravelry using any OAuth 2 library.
The OAuth 2 URLs are:
- https://www.ravelry.com/oauth2/token
- https://www.ravelry.com/oauth2/auth
See "OAuth scope" below for information on requesting specific permissions.
When requesting your token, we support basic auth
(the "Authorization" header) for passing your client ID and secret.
Submitting these as form parameters (also called "body auth") is not
supported.
OAuth 2 tokens expire in 24 hours. You will probably want to request
the "offline" scope so that you can receive a refresh token. Your OAuth
client library should allow you to refresh your access token before it
expires so that you do not have to re-authorize. Your application should
handle HTTP 401 Unauthorized responses by re-authenticating the user.
Authenticating with Ravelry via OAuth 1.0a
Use your consumer key and consumer secret authenticate with Ravelry using any OAuth 1.0a library.
The OAuth URLs are:
- https://www.ravelry.com/oauth/request_token
- https://www.ravelry.com/oauth/access_token
- https://www.ravelry.com/oauth/authorize
See "OAuth scope" below for information on requesting specific permissions.
OAuth tokens are long-lived but they can expire after a period of inactivity
or if the user revokes access. Your application should handle HTTP 401 Unauthorized responses
by re-authenticating the user.
OAuth scopes (permissions)
The OAuth request_token and OAuth 2 token
methods accept an optional "scope" parameter. Use this parameter when
your
application needs to request additional privileges that aren't
granted by default. To request several privileges, separate the values
with a space.
If you are using a personal key instead of OAuth, you do not need to request specific permissions.
| Key |
Description |
| offline |
standard OAuth 2.0 scope for requesting refresh tokens
|
| forum-write |
create, edit, and delete forum posts |
| message-write |
create (ie. send messages to other users) and delete private messages |
| patternstore-read |
enumerate the pattern stores that the user administers as well as the products within those stores |
| patternstore-pdf |
(currently limited access, available by request) generate download links for PDF files within the user's pattern stores |
| deliveries-read |
list the products that have been purchased by or gifted to the current user |
| library-pdf |
directly download PDFs from a user's library using generate_download_link.
note:
tokens that request this scope will expire more quickly than usual and may also expire if a rate limit is exceeded.
You may want to hold both a normal token and a library-pdf token for each user when this permission is requested.
|
There are also scopes which allow you to select a minimal set of privileges.
| Key |
Description |
| profile-only |
allows access to /current_user.json and nothing else |
| carts-only |
callows access to /carts/*.json and nothing else |
HTTP Status Codes
Your application may encounter the following client errors (4xx) and server errors (5xx)
- 400 Bad Request: Your API call is not valid. Check the parameters supplied against the documentation.
- 401 Unauthorized: Your OAuth token has expired or the user has revoked access.
- 403 Forbidden: Oauth token is not valid, API keys are not
valid, or authenticated user is not permitted to use the requested
method.
- 404 Not Found: you attempted to access a resource that no longer exists
- 405 Method Not Allowed: you attempted to POST to a GET API method or vice-versa
- 413 Request Entity Too Large: your POST was too large, refer to documentation for per-method limits.
- 429 Too Many Requests: refer to the documentation for per-method limits.
- 500 Server Error: outside of OAuth flow, this signals an error
on Ravelry's side. We do receive an error notification but please
report a bug.
- 500 Server Error: outside of OAuth flow, this signals an error
on Ravelry's side. We do receive an error notification but please
report a bug.
- 503 Service Unavailable: returned if the Ravelry API is down / not available
- 504 Gateway Time-out: your request was cancelled because it
took more than 10 seconds to generate your response. If you are
paginating, make sure you choose a reasonable page size. If a page size
<= 100 times out, it is considered our bug.
Some API calls show a parameter named "data" with a TypeName#POST object as the parameter data type.
For these methods, you may submit either a JSON object or name/value pairs.
To submit JSON, you may POST it normally with the parameter
name "data" (recommended) or submit it as the raw POST data. Note that you must submit JSON
instead of name/value pairs if you want to include nested data.
Examples with the usual form encoding left out:
JSON as the raw post:
POST {name: "Bond", nickname: "007"}
JSON with a key/value:
POST data={name: "Bond", nickname: "007"}
Plain parameters: if you don't need to or want to nest data. Note
that each parameter is submitted individually and not nested under
"data"
POST name=foo&nickname=007
Sorting and Pagination
Unless otherwise specified, all API calls that accept a "sort" sort order parameter have 2 special features:
- Multiple sort orders can be applied by using a space delimited string of sort orders
- Sort orders can be reversed by adding an _ (underscore) suffix. So the reverse of "name" would be "name_".
Methods that paginate accept "page_size" and "page" parameters and return a result object that contains a Paginator.
A paginator object includes the following properties: page_count, page, page_size, results, last_page
Additional documentation
API Methods
/
/current_user
authenticated
app
app/config/delete
authenticated
app/config/get
authenticated
app/config/set
authenticated
app/data/delete
authenticated
app/data/get
authenticated
app/data/set
authenticated
bundled_items
bundled_items/delete
authenticated
bundled_items/show
authenticated
bundles
bundles/create
authenticated
bundles/delete
authenticated
bundles/list
authenticated
bundles/show
authenticated
bundles/update
authenticated
carts
carts/create
authenticated
carts/external_checkout
authenticated
carts/loveknitting/external_checkout
authenticated
comments
deliveries
designers
designers/show
authenticated
drafts
drafts/create_photo
authenticated
drafts/publish
authenticated
drafts/reorder_photos
authenticated
drafts/unpublish
authenticated
drafts/update
authenticated
extras
favorites
favorites/add_to_bundle
authenticated
favorites/create
authenticated
favorites/delete
authenticated
favorites/list
authenticated
favorites/remove_from_bundle
authenticated
favorites/show
authenticated
favorites/update
authenticated
fiber
fiber/create
authenticated
fiber/create_photo
authenticated
fiber/delete
authenticated
fiber/update
authenticated
fiber_attribute_groups
fiber_attribute_groups/list
forum_posts
forum_posts/show
authenticated
forum_posts/update
authenticated
forum_posts/vote
authenticated
forums
forums/filtered_topics
authenticated
forums/sets
authenticated
forums/topics
authenticated
friends
friends/activity
authenticated
friends/create
authenticated
friends/destroy
authenticated
friends/list
authenticated
groups
in_store_sales
in_store_sales/add_by_pattern
languages
library
library/search
authenticated
messages
messages/list
authenticated
messages/mark_read
authenticated
messages/mark_unread
authenticated
messages/show
authenticated
needles
needles/list
authenticated
needles/sizes
authenticated
needles/types
authenticated
packs
packs/create
authenticated
packs/delete
authenticated
packs/update
authenticated
pages
pages/update
authenticated
pattern_attributes
pattern_categories
pattern_source_types
pattern_source_types/list
pattern_sources
pattern_sources/patterns
authenticated
patterns
patterns/create_photo
authenticated
patterns/reorder_photos
authenticated
people
people/show
authenticated
people/update
authenticated
photos
photos/delete
authenticated
photos/dimensions
authenticated
photos/sizes
authenticated
photos/status
authenticated
photos/update
authenticated
product_attachments
product_attachments/delete
authenticated
product_attachments/generate_download_link
authenticated
product_attachments/show
authenticated
product_attachments/update
authenticated
product_attachments/upload
authenticated
products
products/loveknitting/export
authenticated
products/loveknitting/update_status
authenticated
projects
projects/crafts
authenticated
projects/create
authenticated
projects/create_photo
authenticated
projects/delete
authenticated
projects/list
authenticated
projects/project_statuses
authenticated
projects/reorder_photos
authenticated
projects/show
authenticated
projects/update
authenticated
queue
queue/create
authenticated
queue/delete
authenticated
queue/order
authenticated
queue/reposition
authenticated
queue/update
authenticated
saved_searches
shops
stash
stash/create
authenticated
stash/create_photo
authenticated
stash/delete
authenticated
stash/reorder_photos
authenticated
stash/unified/list
authenticated
stash/update
authenticated
stores
topics
topics/posts
authenticated
topics/read
authenticated
topics/show
authenticated
upload
volumes
volumes/apply_updates
authenticated
volumes/create
authenticated
volumes/delete
authenticated
volumes/show
authenticated
volumes/update
authenticated
yarn_attributes
yarn_companies
yarns
Business
Business
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| name |
|
|
|
| permalink |
|
|
|
| primary_url |
|
|
|
Business
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| name |
|
|
|
| permalink |
|
|
|
| primary_url |
|
|
|
FiberPack
FiberPack
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
FiberPack
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| color_family_id |
Integer
|
Yes
|
|
| colorway |
String
|
Yes
|
|
| fiber_stash_id |
Integer
|
|
|
| personal_brand |
String
|
Yes
|
|
| personal_name |
String
|
Yes
|
|
| purchased_at |
String
|
Yes
|
|
| purchased_city |
String
|
Yes
|
|
| purchased_country_id |
Integer
|
Yes
|
|
| purchased_state_id |
|
|
|
| purchased_url |
String
|
Yes
|
|
| shop_id |
Integer
|
Yes
|
|
| spinning_project_id |
String
|
|
|
NeedleSize
NeedleSize
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| hook |
String
|
|
Crochet hook designation corresponding to this metric size, if one exists
|
| id |
Integer
|
|
Needle size ID
|
| metric |
Integer
|
|
Metric designation for hook size
|
| name |
|
|
|
| pretty_metric |
|
|
|
| us |
String
|
|
US size number corresponding to this metric size, if one exists
|
NeedleSize
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| hook |
String
|
|
Crochet hook designation corresponding to this metric size, if one exists
|
| id |
Integer
|
|
Needle size ID
|
| metric |
Integer
|
|
Metric designation for hook size
|
| name |
|
|
|
| pretty_metric |
|
|
|
| us |
String
|
|
US size number corresponding to this metric size, if one exists
|
NeedleSize
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| metric |
Integer
|
|
Metric designation for hook size
|
YarnWeight
YarnWeight
Attributes
| Name |
Type |
Nullable
|
Description |
| crochet_gauge |
|
|
|
| id |
|
|
|
| knit_gauge |
|
|
|
| max_gauge |
|
|
|
| min_gauge |
|
|
|
| name |
|
|
|
| ply |
|
|
|
| wpi |
|
|
|
YarnWeight
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| crochet_gauge |
|
|
|
| id |
|
|
|
| knit_gauge |
|
|
|
| max_gauge |
|
|
|
| min_gauge |
|
|
|
| name |
|
|
|
| ply |
|
|
|
| wpi |
|
|
|
PatternNeedleSize
PatternNeedleSize
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| hook |
|
|
|
| id |
|
|
|
| metric |
|
|
|
| needle_name |
|
|
|
| needle_size_id |
|
|
|
| pretty_metric |
|
|
|
| pretty_us |
|
|
|
| us |
|
|
|
PatternNeedleSize
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| hook |
|
|
|
| id |
|
|
|
| needle_size_id |
|
|
|
Language
Language
Attributes
| Name |
Type |
Nullable
|
Description |
| code |
String
|
|
2 character Language code (ISO 639-1)
|
| id |
Integer
|
|
Language ID
|
| name |
String
|
|
Language name
|
| permalink |
String
|
|
Permalink
|
| short_name |
String
|
|
Short language name
|
| universal |
Boolean
|
|
True if this is the "Universal" (no written language) language
|
Language
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| code |
String
|
|
2 character Language code (ISO 639-1)
|
| id |
Integer
|
|
Language ID
|
| name |
String
|
|
Language name
|
| permalink |
String
|
|
Permalink
|
| short_name |
String
|
|
Short language name
|
| universal |
Boolean
|
|
True if this is the "Universal" (no written language) language
|
DraftPatternYarn
DraftPatternYarn
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
|
| draft_pattern_id |
Integer
|
|
draft pattern id
|
| id |
Integer
|
|
|
| updated_at |
Date
|
|
|
| yarn |
Yarn
(list)
|
|
Yarn
|
| yarn_id |
Integer
|
|
yarn id
|
| yarn_name |
|
|
|
| yarn_weight |
YarnWeight
(list)
|
|
Yarn weight
|
DraftPatternYarn
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| yarn_id |
Integer
|
|
yarn id
|
QueuedProject
QueuedProject
(tiny)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| position_in_queue |
Integer
|
|
|
| short_pattern_name |
String
|
|
|
QueuedProject
(small)
Attributes
| Name |
Type |
Nullable
|
Description |
| best_photo |
Photo
|
|
|
| created_at |
Date
|
|
|
| id |
Integer
|
|
|
| name |
String
|
|
|
| notes |
|
|
|
| pattern_author_id |
|
|
|
| pattern_author_name |
|
|
|
| pattern_id |
String
|
Yes
|
ID of pattern to be used for this project
|
| pattern_name |
String
|
|
|
| position_in_queue |
Integer
|
|
|
| short_pattern_name |
String
|
|
|
| skeins |
Integer
|
Yes
|
# of skeins needed
|
| sort_order |
Integer
|
Yes
|
Position in queue. Defaults to last.
|
| user_id |
Integer
|
|
|
| yarn_id |
String
|
Yes
|
ID of yarn to be used in this project
|
| yarn_name |
String
|
|
|
QueuedProject
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| best_photo |
Photo
|
|
|
| created_at |
Date
|
|
|
| id |
Integer
|
|
|
| name |
String
|
|
|
| notes_html |
String
|
|
|
| notes |
|
|
|
| pattern |
Pattern
(full)
|
|
|
| pattern_id |
String
|
Yes
|
ID of pattern to be used for this project
|
| pattern_name |
String
|
|
|
| position_in_queue |
Integer
|
|
|
| queued_stashes |
Array,
Stash
(full)
|
|
|
| skeins |
Integer
|
Yes
|
# of skeins needed
|
| sort_order |
Integer
|
Yes
|
Position in queue. Defaults to last.
|
| user_id |
Integer
|
|
|
| yarn |
Yarn
(full)
|
|
|
| yarn_id |
String
|
Yes
|
ID of yarn to be used in this project
|
| yarn_name |
String
|
|
|
QueuedProject
(small_for_owner)
Attributes
| Name |
Type |
Nullable
|
Description |
| best_photo |
Photo
|
|
|
| created_at |
Date
|
|
|
| finish_by |
|
|
|
| id |
Integer
|
|
|
| make_for |
String
|
Yes
|
Note about who the project is for. Limited to 128 characters.
|
| name |
String
|
|
|
| notes |
|
|
|
| pattern_author_id |
|
|
|
| pattern_author_name |
|
|
|
| pattern_id |
String
|
Yes
|
ID of pattern to be used for this project
|
| pattern_name |
String
|
|
|
| position_in_queue |
Integer
|
|
|
| short_pattern_name |
String
|
|
|
| skeins |
Integer
|
Yes
|
# of skeins needed
|
| sort_order |
Integer
|
Yes
|
Position in queue. Defaults to last.
|
| start_on |
Date
|
Yes
|
Date to start the project date, in YYYY-MM-DD format.
|
| user_id |
Integer
|
|
|
| yarn_id |
String
|
Yes
|
ID of yarn to be used in this project
|
| yarn_name |
String
|
|
|
QueuedProject
(full_for_owner)
Attributes
| Name |
Type |
Nullable
|
Description |
| best_photo |
Photo
|
|
|
| created_at |
Date
|
|
|
| finish_by |
|
|
|
| id |
Integer
|
|
|
| make_for |
String
|
Yes
|
Note about who the project is for. Limited to 128 characters.
|
| name |
String
|
|
|
| notes_html |
String
|
|
|
| notes |
|
|
|
| pattern |
Pattern
(full)
|
|
|
| pattern_id |
String
|
Yes
|
ID of pattern to be used for this project
|
| pattern_name |
String
|
|
|
| position_in_queue |
Integer
|
|
|
| queued_stashes |
Array,
Stash
(full)
|
|
|
| skeins |
Integer
|
Yes
|
# of skeins needed
|
| sort_order |
Integer
|
Yes
|
Position in queue. Defaults to last.
|
| start_on |
Date
|
Yes
|
Date to start the project date, in YYYY-MM-DD format.
|
| user_id |
Integer
|
|
|
| yarn |
Yarn
(full)
|
|
|
| yarn_id |
String
|
Yes
|
ID of yarn to be used in this project
|
| yarn_name |
String
|
|
|
QueuedProject
(export)
Attributes
| Name |
Type |
Nullable
|
Description |
| best_photo |
Photo
|
|
|
| created_at |
Date
|
|
|
| finish_by |
|
|
|
| id |
Integer
|
|
|
| make_for |
String
|
Yes
|
Note about who the project is for. Limited to 128 characters.
|
| name |
String
|
|
|
| notes_html |
String
|
|
|
| notes |
|
|
|
| pattern |
Pattern
(full)
|
|
|
| pattern_id |
String
|
Yes
|
ID of pattern to be used for this project
|
| pattern_name |
String
|
|
|
| position_in_queue |
Integer
|
|
|
| queued_stashes |
Array,
Stash
(full)
|
|
|
| skeins |
Integer
|
Yes
|
# of skeins needed
|
| sort_order |
Integer
|
Yes
|
Position in queue. Defaults to last.
|
| start_on |
Date
|
Yes
|
Date to start the project date, in YYYY-MM-DD format.
|
| user_id |
Integer
|
|
|
| yarn |
Yarn
(full)
|
|
|
| yarn_id |
String
|
Yes
|
ID of yarn to be used in this project
|
| yarn_name |
String
|
|
|
QueuedProject
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| fiber_stash_ids |
Array,
Integer
|
Yes
|
List of IDs for Fiber stash records that are associated with this queued item.
|
| finish_by |
Date
|
Yes
|
Date to finish the project by, in YYYY-MM-DD format.
|
| make_for |
String
|
Yes
|
Note about who the project is for. Limited to 128 characters.
|
| notes |
String
|
|
|
| pattern_id |
String
|
Yes
|
ID of pattern to be used for this project
|
| personal_pattern_author |
String
|
Yes
|
Pattern author, if a Ravelry pattern is not linked
|
| personal_pattern_name |
String
|
Yes
|
Pattern name, if a Ravelry pattern is not linked
|
| personal_pattern_url |
String
|
Yes
|
Pattern URL, if a Ravelry pattern is not linked
|
| personal_yarn_name |
String
|
Yes
|
Yarn name, if a Ravelry yarn is not linked
|
| skeins |
Integer
|
Yes
|
# of skeins needed
|
| sort_order |
Integer
|
Yes
|
Position in queue. Defaults to last.
|
| sort_order |
Integer
|
Yes
|
Position in queue. Defaults to last.
|
| start_on |
Date
|
Yes
|
Date to start the project date, in YYYY-MM-DD format.
|
| stash_ids |
Array,
Integer
|
Yes
|
List of IDs for Stash records that are associated with this queued item.
|
| tag_names |
Array,
String
|
Yes
|
Array of tag names
|
| yarn_id |
String
|
Yes
|
ID of yarn to be used in this project
|
PatternSource
PatternSource
Attributes
| Name |
Type |
Nullable
|
Description |
| amazon_rating |
Float
|
Yes
|
|
| amazon_url |
String
|
Yes
|
|
| author |
String
|
Yes
|
|
| id |
Integer
|
|
|
| list_price |
Decimal
|
Yes
|
|
| name |
String
|
|
|
| out_of_print |
Boolean
|
|
|
| patterns_count |
Integer
|
|
|
| permalink |
String
|
|
|
| price |
Decimal
|
Yes
|
|
| shelf_image_path |
String
|
Yes
|
|
| url |
|
|
|
PatternSource
(link_with_patterns)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| name |
String
|
|
|
| pattern_source_type |
|
|
|
| patterns |
Array,
Pattern
(link)
|
|
|
| permalink |
String
|
|
|
PatternSource
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| amazon_rating |
Float
|
Yes
|
|
| amazon_url |
String
|
Yes
|
|
| author |
String
|
Yes
|
|
| id |
Integer
|
|
|
| list_price |
Decimal
|
Yes
|
|
| name |
String
|
|
|
| out_of_print |
Boolean
|
|
|
| pattern_source_type |
|
|
|
| pattern_source_type_id |
|
|
|
| patterns_count |
Integer
|
|
|
| permalink |
String
|
|
|
| price |
Decimal
|
Yes
|
|
| shelf_image_path |
String
|
Yes
|
|
| url |
|
|
|
PatternSource
(public)
Attributes
| Name |
Type |
Nullable
|
Description |
| author |
String
|
Yes
|
|
| author_pattern_author_id |
|
|
|
| created_at |
|
|
|
| id |
Integer
|
|
|
| isbn_13 |
|
|
|
| issue |
|
|
|
| label |
|
|
|
| name |
String
|
|
|
| notes_html |
|
|
|
| notes |
|
|
|
| out_of_print |
Boolean
|
|
|
| pattern_source_type |
|
|
|
| pattern_source_type_id |
|
|
|
| periodical |
|
|
|
| permalink |
String
|
|
|
| price |
Decimal
|
Yes
|
|
| publication_date |
|
|
|
| publisher_id |
|
|
|
| source_group_id |
|
|
|
| updated_at |
|
|
|
| url |
|
|
|
PatternSource
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| amazon_rating |
Float
|
Yes
|
|
| amazon_url |
String
|
Yes
|
|
| author |
String
|
Yes
|
|
| id |
Integer
|
|
|
| list_price |
Decimal
|
Yes
|
|
| name |
String
|
|
|
| out_of_print |
Boolean
|
|
|
| pattern_source_type |
|
|
|
| patterns |
Array,
Pattern
|
|
|
| patterns_count |
Integer
|
|
|
| permalink |
String
|
|
|
| price |
Decimal
|
Yes
|
|
| shelf_image_path |
String
|
Yes
|
|
| url |
|
|
|
DraftNeedleSize
DraftNeedleSize
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| draft_pattern_id |
Integer
|
|
|
| hook |
Boolean
|
|
Tool is a crochet hook (as opposed to a needle)
|
| id |
Integer
|
|
|
| needle_size |
Array,
NeedleSize
(list)
|
|
Length, name, etc attributes come from the associated needle size record
|
DraftNeedleSize
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| hook |
Boolean
|
|
Tool is a crochet hook (as opposed to a needle)
|
| id |
Integer
|
|
|
| needle_size_id |
Integer
|
|
|
Invoice
Invoice
(cart)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| invoice_number |
Integer
|
|
Invoice number
|
| paid |
Boolean
|
|
paid or unpaid
|
| payment_reference |
String
|
Yes
|
Custom field for storage of reference data by API users
|
Invoice
(receipt)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| invoice_number |
Integer
|
|
Invoice number
|
| paid |
Boolean
|
|
paid or unpaid
|
| payment_reference |
String
|
Yes
|
Custom field for storage of reference data by API users
|
Invoice
(sale)
Attributes
| Name |
Type |
Nullable
|
Description |
| amount_due |
Decimal
|
Yes
|
Amount due to the seller
|
| amount_due_to_lys |
Decimal
|
Yes
|
Amount due to the LYS (for In Store Sales)
|
| bill_to_email |
String
|
Yes
|
The email of the payer, as reported by PayPal
|
| bill_to_name |
String
|
Yes
|
The name of the payer, as reported by PayPal
|
| country |
String
|
Yes
|
Country of the buyer for tax purposes. Typically the same as country_from_paypal.
|
| country_from_paypal |
String
|
Yes
|
Country of the buyer as reported by PayPal
|
| creator_type |
Integer
|
Yes
|
Flag to mark special kinds of invoice records. 1 = (reserved), 2
= free/gifted copy, 3 = record of transaction between LYS and customer
|
| currency |
String
|
|
Currency (3 letter ISO code)
|
| id |
|
|
|
| invoice_date |
Date
|
|
Date the invoice was created
|
| invoice_line_items |
Array,
InvoiceLineItem
(sale)
|
|
Products purchased and promotions applied
|
| invoice_number |
Integer
|
|
Invoice number
|
| paid |
Boolean
|
|
paid or unpaid
|
| payment_reference |
String
|
Yes
|
Custom field for storage of reference data by API users
|
| payments |
Array,
Payment
|
|
Associated payments (from PayPal)
|
| ravelry_user_id |
Integer
|
Yes
|
User ID of the buyer's Ravelry account, ONLY PRESENT if the buyer was logged in to Ravelry at the time of purchase
|
| ravelry_username |
String
|
Yes
|
Username of the buyer's Ravelry account, ONLY PRESENT if the buyer was logged in to Ravelry at the time of purchase
|
Invoice
Attributes
| Name |
Type |
Nullable
|
Description |
| bill_to_email |
String
|
Yes
|
The email of the payer, as reported by PayPal
|
| bill_to_name |
String
|
Yes
|
The name of the payer, as reported by PayPal
|
| currency |
String
|
|
Currency (3 letter ISO code)
|
| id |
|
|
|
| invoice_date |
Date
|
|
Date the invoice was created
|
| invoice_number |
Integer
|
|
Invoice number
|
| paid |
Boolean
|
|
paid or unpaid
|
Document
Document
Attributes
| Name |
Type |
Nullable
|
Description |
| bytes |
Integer
|
|
Size of the file in bytes
|
| content_type |
String
|
|
MIME content type of the file
|
| filename |
String
|
|
File name
|
| id |
Integer
|
|
Document ID
|
| notes |
String
|
Yes
|
Seller-added notes about the content of the file
|
| thumbnail_url |
String
|
|
URL for a thumbnail image of the attachment or the first page of the attachment
|
YarnProvenance
YarnProvenance
Attributes
| Name |
Type |
Nullable
|
Description |
| country_id |
|
|
|
| country_name |
|
|
|
| description |
|
|
|
| id |
Integer
|
|
identifier
|
| phase_name |
|
|
|
| state_id |
|
|
|
| yarn_id |
Integer
|
|
yarn identifier
|
| yarn_phase_id |
Integer
|
|
yarn phase identifier
|
YarnProvenance
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| country_id |
|
|
|
| country_name |
|
|
|
| description |
|
|
|
| id |
Integer
|
|
identifier
|
| phase_name |
|
|
|
| state_id |
|
|
|
| yarn_id |
Integer
|
|
yarn identifier
|
| yarn_phase_id |
Integer
|
|
yarn phase identifier
|
Delivery
Delivery
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
|
| emailed_at |
Date
|
|
|
| id |
Integer
|
|
Delivery ID
|
| products |
Array,
Product
|
|
Products that were purchased or gifted
|
Delivery
(receipt)
Attributes
| Name |
Type |
Nullable
|
Description |
| delivery_url |
String
|
|
URL where the customer can pick their downloads
|
| emailed_at |
Date
|
|
|
| id |
Integer
|
|
Delivery ID
|
| product_attachments |
Array,
ProductAttachment
(receipt)
|
|
Details about the file attachments
|
| scheduled_for_sending |
Boolean
|
|
|
PatternAttribute
PatternAttribute
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| permalink |
String
|
|
|
PatternAttribute
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| description |
String
|
|
Long attribute description
|
| id |
Integer
|
|
|
| name |
String
|
|
Attribute name
|
| sort_order |
Integer
|
|
Sort order within the containing attribute group. If not present, sorting alphabetically is recommended.
|
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
|
| id |
Integer
|
|
|
| make |
String
|
Yes
|
|
| model |
String
|
Yes
|
|
| name |
String
|
Yes
|
|
| notes |
String
|
Yes
|
|
| updated_at |
Date
|
|
|
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
|
| id |
Integer
|
|
|
| make |
String
|
Yes
|
|
| model |
String
|
Yes
|
|
| name |
String
|
Yes
|
|
| notes |
String
|
Yes
|
|
| updated_at |
Date
|
|
|
Store
Store
Attributes
| Name |
Type |
Nullable
|
Description |
| business |
Business
|
|
The business (Pro Account) associated with the store
|
| id |
Integer
|
|
Store ID
|
| name |
String
|
|
Store name
|
| pattern_source |
|
|
|
| paypal_account |
String
|
|
(deprecated) For stores that use the legacy non-Marketplaces PayPal connection, the associated account
|
| permalink |
String
|
|
Store permalink
|
| products_count |
Integer
|
|
Number of products in the store
|
Store
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| business |
Business
|
|
The business (Pro Account) associated with the store
|
| id |
Integer
|
|
Store ID
|
| name |
String
|
|
Store name
|
| pattern_source |
|
|
|
| paypal_account |
String
|
|
(deprecated) For stores that use the legacy non-Marketplaces PayPal connection, the associated account
|
| permalink |
String
|
|
Store permalink
|
| products_count |
Integer
|
|
Number of products in the store
|
CartItem
CartItem
(javascript)
Attributes
| Name |
Type |
Nullable
|
Description |
| cart_id |
Integer
|
|
cart identifier
|
| currency |
String
|
|
3 character currency code
|
| id |
Integer
|
|
cart item identifier
|
| product |
Array,
Product
(javascript)
|
|
list of products
|
CartItem
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| cart_id |
Integer
|
|
cart identifier
|
| currency |
String
|
|
3 character currency code
|
| id |
Integer
|
|
cart item identifier
|
| product |
Array,
Product
(full)
|
|
list of products
|
FiberCategory
FiberCategory
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| name |
String
|
|
Short category name
|
| parent |
|
|
|
| permalink |
String
|
|
|
FiberCategory
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| children |
Array,
FiberCategory
(list)
|
|
Child categories (subcategories)
|
| id |
Integer
|
|
|
| name |
String
|
|
Short category name
|
| permalink |
String
|
|
|
| short_name |
String
|
|
Abbreviated category name
|
Bundle
Bundle
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| bundle_cover |
Photo
|
Yes
|
A cover photo uploaded by the user - this takes precedence over first_photo
|
| bundled_items_count |
Integer
|
Yes
|
|
| first_photo |
Photo
|
Yes
|
A photo of a bundled item within the bundle
|
| id |
Integer
|
|
|
| name |
String
|
|
|
| notes |
String
|
Yes
|
|
| user |
User
(small)
|
|
User that is the Bundle owner
|
Bundle
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| bundle_cover |
Photo
|
Yes
|
A cover photo uploaded by the user - this takes precedence over first_photo
|
| bundled_items |
Array,
BundledItem
(list)
|
Yes
|
list of the items in the bundle
|
| bundled_items_count |
Integer
|
Yes
|
|
| created_at |
Date
|
|
|
| favorites_count |
Integer
|
Yes
|
|
| first_photo |
Photo
|
Yes
|
A photo of a bundled item within the bundle
|
| id |
Integer
|
|
|
| name |
String
|
|
|
| notes |
String
|
Yes
|
|
| permalink |
String
|
|
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
User that is the Bundle owner
|
Bundle
(export)
Attributes
| Name |
Type |
Nullable
|
Description |
| bundle_cover |
Photo
|
Yes
|
A cover photo uploaded by the user - this takes precedence over first_photo
|
| bundled_items |
Array,
BundledItem
(list)
|
Yes
|
list of the items in the bundle
|
| bundled_items_count |
Integer
|
Yes
|
|
| created_at |
Date
|
|
|
| favorites_count |
Integer
|
Yes
|
|
| first_photo |
Photo
|
Yes
|
A photo of a bundled item within the bundle
|
| id |
Integer
|
|
|
| name |
String
|
|
|
| notes |
String
|
Yes
|
|
| permalink |
String
|
|
|
| updated_at |
Date
|
|
|
Bundle
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| name |
String
|
|
|
| notes |
String
|
Yes
|
|
| owner_id |
Integer
|
Yes
|
The ID of the bundle owner - only needed for PatternAuthor or Group owner_types
|
| owner_id |
Integer
|
Yes
|
The ID of the bundle owner - only needed for PatternAuthor or Group owner_types
|
| owner_type |
String
|
Yes
|
Who owns the bundle. Either designer or group for designer or group bundles. Leave blank for personal bundles.
|
| owner_type |
String
|
Yes
|
Who owns the bundle. Either designer or group for designer or group bundles. Leave blank for personal bundles.
|
ColorFamily
ColorFamily
Attributes
| Name |
Type |
Nullable
|
Description |
| color |
String
|
Yes
|
HTML color code
|
| id |
Integer
|
|
|
| name |
String
|
|
|
| permalink |
String
|
|
|
| spectrum_order |
Integer
|
|
sort order, (mostly) based on the spectrum
|
DraftComponentYarn
DraftComponentYarn
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
|
| draft_pattern_id |
Integer
|
|
|
| id |
Integer
|
|
|
| updated_at |
Date
|
|
|
DraftComponentYarn
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
|
| draft_pattern_id |
Integer
|
|
|
| held_together_group |
Integer
|
|
|
| id |
Integer
|
|
|
| updated_at |
Date
|
|
|
| yarn |
Yarn
(list)
|
|
|
| yarn_weight |
YarnWeight
(list)
|
|
|
DraftComponentYarn
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| yarn_weight_id |
Integer
|
|
|
Attributes
| Name |
Type |
Nullable
|
Description |
| comment_html |
String
|
|
Comment body (HTML formatted)
|
| created_at |
Date
|
|
Creation time
|
| highlighted_project |
Project
|
Yes
|
If the commenter has a project that is related to
their comment, it is provided here. Note that you have to request this
information as part of the comments API call.
|
| id |
Integer
|
|
Comment ID
|
| user |
User
(small)
|
|
The user who posted the comment
|
Attributes
| Name |
Type |
Nullable
|
Description |
| comment_html |
String
|
|
Comment body (HTML formatted)
|
| commentable |
|
|
|
| created_at |
Date
|
|
Creation time
|
| id |
Integer
|
|
Comment ID
|
| user_id |
Integer
|
|
The ID of the user who posted the comment
|
Attributes
| Name |
Type |
Nullable
|
Description |
| comment_html |
String
|
|
Comment body (HTML formatted)
|
| created_at |
Date
|
|
Creation time
|
| highlighted_project |
Project
|
Yes
|
If the commenter has a project that is related to
their comment, it is provided here. Note that you have to request this
information as part of the comments API call.
|
| id |
Integer
|
|
Comment ID
|
| replies |
Array,
Comment
|
|
Replies to the comment. Only the owner of the item
that has been commented on can reply, nesting is limited to 1 level
(replies cannot have replies)
|
| user |
User
(small)
|
|
The user who posted the comment
|
Attributes
| Name |
Type |
Nullable
|
Description |
| comment_html |
String
|
|
Comment body (HTML formatted)
|
| created_at |
Date
|
|
Creation time
|
| id |
Integer
|
|
Comment ID
|
Volume
Volume
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| asking_price_cents |
|
|
|
| asking_price_currency |
String
|
Yes
|
|
| author_name |
String
|
Yes
|
|
| cover_image_size |
|
|
|
| cover_image_url |
|
|
|
| created_at |
Date
|
|
Creation date
|
| first_photo |
|
|
|
| for_sale |
|
|
|
| for_trade |
|
|
|
| has_downloads |
|
|
|
| id |
Integer
|
|
|
| notes |
String
|
Yes
|
Notes related to this item
|
| notes_html |
|
|
|
| pattern_id |
Integer
|
Yes
|
The pattern that this volume is related to
|
| pattern_source_id |
Integer
|
Yes
|
The pattern source that this volume is related to
|
| patterns_count |
Integer
|
Yes
|
|
| small_image_url |
|
|
|
| square_image_url |
|
|
|
| title |
String
|
Yes
|
|
| unapplied_updates |
Array,
ProductNotification
|
Yes
|
List of unapplied updates for this volume, if any
|
| updated_at |
Date
|
|
Last update date
|
| volume_attachments |
Array,
VolumeAttachment
|
Yes
|
Documents (PDF files) that are attached to this volume
|
| volume_status_id |
Integer
|
Yes
|
One of: 1 (no special status), 2 (for sale), 3 (for trade), 4 (for sale or trade)
|
Volume
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| author_name |
String
|
Yes
|
|
| cover_image_size |
|
|
|
| cover_image_url |
|
|
|
| created_at |
Date
|
|
Creation date
|
| first_photo |
|
|
|
| has_downloads |
|
|
|
| id |
Integer
|
|
|
| pattern_id |
Integer
|
Yes
|
The pattern that this volume is related to
|
| pattern_source_id |
Integer
|
Yes
|
The pattern source that this volume is related to
|
| patterns_count |
Integer
|
Yes
|
|
| small_image_url |
|
|
|
| square_image_url |
|
|
|
| title |
String
|
Yes
|
|
| updated_at |
Date
|
|
Last update date
|
Volume
(export)
Attributes
| Name |
Type |
Nullable
|
Description |
| author_name |
String
|
Yes
|
|
| cover_image_size |
|
|
|
| cover_image_url |
|
|
|
| created_at |
Date
|
|
Creation date
|
| first_photo |
|
|
|
| has_downloads |
|
|
|
| id |
Integer
|
|
|
| pattern_id |
Integer
|
Yes
|
The pattern that this volume is related to
|
| pattern_source_id |
Integer
|
Yes
|
The pattern source that this volume is related to
|
| patterns_count |
Integer
|
Yes
|
|
| small_image_url |
|
|
|
| square_image_url |
|
|
|
| title |
String
|
Yes
|
|
| updated_at |
Date
|
|
Last update date
|
Volume
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| asking_price |
String
|
Yes
|
Asking price, if the item is for sale
|
| asking_price_currency |
String
|
Yes
|
|
| location |
String
|
Yes
|
Location where the item is stored, only visible to the owner
|
| notes |
String
|
Yes
|
Notes related to this item
|
| pattern_id |
Integer
|
Yes
|
The pattern that this volume is related to
|
| pattern_source_id |
Integer
|
Yes
|
The pattern source that this volume is related to
|
| volume_status_id |
Integer
|
Yes
|
One of: 1 (no special status), 2 (for sale), 3 (for trade), 4 (for sale or trade)
|
Shop
Shop
Attributes
| Name |
Type |
Nullable
|
Description |
| address |
|
|
|
| city |
|
|
|
| closed |
|
|
|
| country |
|
|
|
| distance |
|
|
|
| facebook_page |
|
|
|
| free_wifi |
|
|
|
| id |
|
|
|
| latitude |
|
|
|
| location |
|
|
|
| longitude |
|
|
|
| name |
|
|
|
| parking |
|
|
|
| permalink |
|
|
|
| phone |
|
|
|
| pos_online |
|
|
|
| ravelry_retailer |
|
|
|
| seating |
|
|
|
| shop_email |
|
|
|
| state |
|
|
|
| twitter_id |
|
|
|
| url |
|
|
|
| wheelchair_access |
|
|
|
| zip |
|
|
|
Shop
(tiny)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| name |
|
|
|
| permalink |
|
|
|
Shop
(small)
Attributes
| Name |
Type |
Nullable
|
Description |
| address |
|
|
|
| city |
|
|
|
| closed |
|
|
|
| country |
|
|
|
| distance |
|
|
|
| facebook_page |
|
|
|
| free_wifi |
|
|
|
| id |
|
|
|
| latitude |
|
|
|
| location |
|
|
|
| longitude |
|
|
|
| name |
|
|
|
| parking |
|
|
|
| permalink |
|
|
|
| phone |
|
|
|
| pos_online |
|
|
|
| ravelry_retailer |
|
|
|
| seating |
|
|
|
| shop_email |
|
|
|
| state |
|
|
|
| twitter_id |
|
|
|
| url |
|
|
|
| wheelchair_access |
|
|
|
| zip |
|
|
|
Shop
(medium)
Attributes
| Name |
Type |
Nullable
|
Description |
| address |
|
|
|
| city |
|
|
|
| closed |
|
|
|
| country |
|
|
|
| distance |
|
|
|
| facebook_page |
|
|
|
| free_wifi |
|
|
|
| id |
|
|
|
| latitude |
|
|
|
| location |
|
|
|
| longitude |
|
|
|
| name |
|
|
|
| notes_html |
|
|
|
| parking |
|
|
|
| permalink |
|
|
|
| phone |
|
|
|
| pos_online |
|
|
|
| ravelry_retailer |
|
|
|
| seating |
|
|
|
| shop_email |
|
|
|
| state |
|
|
|
| twitter_id |
|
|
|
| url |
|
|
|
| wheelchair_access |
|
|
|
| yarn_brands |
|
|
|
| zip |
|
|
|
Cart
Cart
(javascript)
Attributes
| Name |
Type |
Nullable
|
Description |
| cart_items |
Array,
CartItem
(javascript)
|
Yes
|
list of items in the cart
|
| currency |
String
|
|
3 letter code for the currency of the cart
|
| id |
Integer
|
|
cart identifier
|
| store_id |
Integer
|
|
store identifier
|
Cart
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| cart_items |
Array,
CartItem
(full)
|
Yes
|
list of items in the cart
|
| currency |
String
|
|
3 letter code for the currency of the cart
|
| id |
Integer
|
|
cart identifier
|
| store_id |
Integer
|
|
store identifier
|
DownloadLink
DownloadLink
Attributes
| Name |
Type |
Nullable
|
Description |
| activated_at |
|
|
|
| expires_at |
|
|
|
| url |
|
|
|
Stash
Stash
Attributes
| Name |
Type |
Nullable
|
Description |
| color_family_name |
|
|
|
| colorway_name |
|
|
|
| comments_count |
Integer
|
|
|
| created_at |
Date
|
|
|
| dye_lot |
String
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| first_photo |
Photo
|
|
|
| handspun |
Boolean
|
|
|
| has_photo |
Boolean
|
Yes
|
|
| id |
Integer
|
|
|
| location |
String
|
Yes
|
Description of where the stashed yarn is stored
|
| long_yarn_weight_name |
String
|
|
Longer description of the yarn's weight. personal_yarn_weight is used if there is no associated yarn
|
| name |
String
|
Yes
|
User-added yarn name, typically present when there is no associated yarn
|
| permalink |
String
|
|
|
| personal_yarn_weight |
YarnWeight
|
Yes
|
User-added yarn weight, typically present when there is no associated yarn
|
| stash_status |
|
|
|
| tag_names |
Array,
String
|
|
List of tags associated with this stash entry
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
User that is the Stash owner
|
| yarn |
Yarn
(stash_list)
|
|
|
| yarn_weight_name |
String
|
|
Name of the yarn's weight. personal_yarn_weight is used if there is no associated yarn
|
Stash
(small)
Attributes
| Name |
Type |
Nullable
|
Description |
| color_family_name |
|
|
|
| colorway_name |
|
|
|
| comments_count |
Integer
|
|
|
| created_at |
Date
|
|
|
| dye_lot |
String
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| first_photo |
Photo
|
|
|
| handspun |
Boolean
|
|
|
| has_photo |
Boolean
|
Yes
|
|
| id |
Integer
|
|
|
| location |
String
|
Yes
|
Description of where the stashed yarn is stored
|
| name |
String
|
Yes
|
User-added yarn name, typically present when there is no associated yarn
|
| permalink |
String
|
|
|
| stash_status |
|
|
|
| tag_names |
Array,
String
|
|
List of tags associated with this stash entry
|
| updated_at |
Date
|
|
|
| yarn |
Yarn
(stash_list)
|
|
|
Stash
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| color_family_name |
|
|
|
| colorway_name |
|
|
|
| comments_count |
Integer
|
|
|
| created_at |
Date
|
|
|
| dye_lot |
String
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| first_photo |
Photo
|
|
|
| handspun |
Boolean
|
|
|
| has_photo |
Boolean
|
Yes
|
|
| id |
Integer
|
|
|
| location |
String
|
Yes
|
Description of where the stashed yarn is stored
|
| long_yarn_weight_name |
String
|
|
Longer description of the yarn's weight. personal_yarn_weight is used if there is no associated yarn
|
| name |
String
|
Yes
|
User-added yarn name, typically present when there is no associated yarn
|
| permalink |
String
|
|
|
| personal_yarn_weight |
YarnWeight
|
Yes
|
User-added yarn weight, typically present when there is no associated yarn
|
| primary_pack |
(stash)
|
|
|
| stash_status |
|
|
|
| tag_names |
Array,
String
|
|
List of tags associated with this stash entry
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
User that is the Stash owner
|
| yarn |
Yarn
(stash_list)
|
|
|
| yarn_weight_name |
String
|
|
Name of the yarn's weight. personal_yarn_weight is used if there is no associated yarn
|
Stash
(list_with_notes)
Attributes
| Name |
Type |
Nullable
|
Description |
| color_family_name |
|
|
|
| colorway_name |
|
|
|
| comments_count |
Integer
|
|
|
| created_at |
Date
|
|
|
| dye_lot |
String
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| first_photo |
Photo
|
|
|
| handspun |
Boolean
|
|
|
| has_photo |
Boolean
|
Yes
|
|
| id |
Integer
|
|
|
| location |
String
|
Yes
|
Description of where the stashed yarn is stored
|
| long_yarn_weight_name |
String
|
|
Longer description of the yarn's weight. personal_yarn_weight is used if there is no associated yarn
|
| name |
String
|
Yes
|
User-added yarn name, typically present when there is no associated yarn
|
| notes_html |
|
|
|
| notes |
|
|
|
| permalink |
String
|
|
|
| personal_yarn_weight |
YarnWeight
|
Yes
|
User-added yarn weight, typically present when there is no associated yarn
|
| primary_pack |
(stash)
|
|
|
| stash_status |
|
|
|
| tag_names |
Array,
String
|
|
List of tags associated with this stash entry
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
User that is the Stash owner
|
| yarn |
Yarn
(stash_list)
|
|
|
| yarn_weight_name |
String
|
|
Name of the yarn's weight. personal_yarn_weight is used if there is no associated yarn
|
Stash
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| color_family_name |
|
|
|
| colorway_name |
|
|
|
| comments_count |
Integer
|
|
|
| created_at |
Date
|
|
|
| dye_lot |
String
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| handspun |
Boolean
|
|
|
| has_photo |
Boolean
|
Yes
|
|
| id |
Integer
|
|
|
| location |
String
|
Yes
|
Description of where the stashed yarn is stored
|
| long_yarn_weight_name |
String
|
|
Longer description of the yarn's weight. personal_yarn_weight is used if there is no associated yarn
|
| name |
String
|
Yes
|
User-added yarn name, typically present when there is no associated yarn
|
| name |
String
|
Yes
|
User-added yarn name, typically present when there is no associated yarn
|
| notes_html |
|
|
|
| notes |
|
|
|
| packs |
(stash)
|
|
|
| permalink |
String
|
|
|
| personal_yarn_weight |
YarnWeight
|
Yes
|
User-added yarn weight, typically present when there is no associated yarn
|
| photos |
(full)
|
|
|
| stash_status |
|
|
|
| tag_names |
Array,
String
|
|
List of tags associated with this stash entry
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
User that is the Stash owner
|
| user_id |
|
|
|
| yarn |
Yarn
(full)
|
|
|
| yarn_weight_name |
String
|
|
Name of the yarn's weight. personal_yarn_weight is used if there is no associated yarn
|
Stash
(full_for_owner)
Attributes
| Name |
Type |
Nullable
|
Description |
| color_family_name |
|
|
|
| colorway_name |
|
|
|
| comments_count |
Integer
|
|
|
| created_at |
Date
|
|
|
| dye_lot |
String
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| handspun |
Boolean
|
|
|
| has_photo |
Boolean
|
Yes
|
|
| id |
Integer
|
|
|
| location |
String
|
Yes
|
Description of where the stashed yarn is stored
|
| long_yarn_weight_name |
String
|
|
Longer description of the yarn's weight. personal_yarn_weight is used if there is no associated yarn
|
| name |
String
|
Yes
|
User-added yarn name, typically present when there is no associated yarn
|
| name |
String
|
Yes
|
User-added yarn name, typically present when there is no associated yarn
|
| notes_html |
|
|
|
| notes |
|
|
|
| packs |
(stash_for_owner)
|
|
|
| permalink |
String
|
|
|
| personal_yarn_weight |
YarnWeight
|
Yes
|
User-added yarn weight, typically present when there is no associated yarn
|
| photos |
(full)
|
|
|
| stash_status |
|
|
|
| tag_names |
Array,
String
|
|
List of tags associated with this stash entry
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
User that is the Stash owner
|
| user_id |
|
|
|
| yarn |
Yarn
(full)
|
|
|
| yarn_weight_name |
String
|
|
Name of the yarn's weight. personal_yarn_weight is used if there is no associated yarn
|
Stash
(export)
Attributes
| Name |
Type |
Nullable
|
Description |
| color_family_name |
|
|
|
| colorway_name |
|
|
|
| comments_count |
Integer
|
|
|
| created_at |
Date
|
|
|
| dye_lot |
String
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| handspun |
Boolean
|
|
|
| has_photo |
Boolean
|
Yes
|
|
| id |
Integer
|
|
|
| location |
String
|
Yes
|
Description of where the stashed yarn is stored
|
| long_yarn_weight_name |
String
|
|
Longer description of the yarn's weight. personal_yarn_weight is used if there is no associated yarn
|
| name |
String
|
Yes
|
User-added yarn name, typically present when there is no associated yarn
|
| name |
String
|
Yes
|
User-added yarn name, typically present when there is no associated yarn
|
| notes_html |
|
|
|
| notes |
|
|
|
| packs |
(stash)
|
|
|
| permalink |
String
|
|
|
| personal_yarn_weight |
YarnWeight
|
Yes
|
User-added yarn weight, typically present when there is no associated yarn
|
| photos |
(full)
|
|
|
| stash_status |
|
|
|
| tag_names |
Array,
String
|
|
List of tags associated with this stash entry
|
| updated_at |
Date
|
|
|
| user_id |
|
|
|
| yarn |
Yarn
(full)
|
|
|
| yarn_weight_name |
String
|
|
Name of the yarn's weight. personal_yarn_weight is used if there is no associated yarn
|
Stash
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| dye_lot |
String
|
Yes
|
|
| handspun |
Boolean
|
|
|
| location |
String
|
Yes
|
Description of where the stashed yarn is stored
|
| notes |
|
|
|
| pack |
Pack
(POST)
|
Yes
|
The pack record contains detailed information about an allocation of yarn
|
| stash_status_id |
Integer
|
|
1 = active, 2 = used up, 3 = will trade/sell, 4 = gone/sold, 5 = in progress (only available on handspun)
|
| tag_list |
String
|
Yes
|
List of tags, space delimited
|
| yarn_id |
Integer
|
Yes
|
Yarn to link the stash entry to
|
Forum
Forum
(small)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| name |
String
|
|
|
| permalink |
String
|
|
|
| sort_order |
Integer
|
|
|
| topics_count |
Integer
|
|
|
Forum
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| name |
String
|
|
|
| permalink |
String
|
|
|
| sort_order |
Integer
|
|
|
| topics_count |
Integer
|
|
|
Project
Project
Attributes
| Name |
Type |
Nullable
|
Description |
| comments_count |
Integer
|
|
|
| completed |
Date
|
Yes
|
|
| completed_day_set |
Boolean
|
|
If set to false, the "completed" date day is unknown. It represents a month and year only
|
| craft_id |
Integer
|
Yes
|
|
| craft_name |
|
|
|
| created_at |
Date
|
|
|
| ends_per_inch |
Decimal
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| first_photo |
Photo
|
Yes
|
|
| gauge_divisor |
Integer
|
Yes
|
|
| gauge |
Decimal
|
Yes
|
|
| gauge_pattern |
String
|
Yes
|
|
| gauge_repeats |
Integer
|
Yes
|
|
| id |
Integer
|
|
|
| links |
Object
|
|
Links to the project on Ravelry
|
| made_for |
String
|
Yes
|
|
| made_for_user_id |
Integer
|
Yes
|
|
| name |
String
|
|
|
| pattern_id |
Integer
|
Yes
|
A project might have a pattern name and no pattern ID (if it is not linked to a Ravelry database pattern)
|
| pattern_name |
String
|
Yes
|
|
| permalink |
String
|
|
|
| personal_attributes |
Hash
|
Yes
|
Hash containing information related to this project's status in
the current user's notebook (favorited, bookmark_id, ...)
|
| photos_count |
Integer
|
|
|
| picks_per_inch |
Decimal
|
Yes
|
|
| progress |
Integer
|
Yes
|
|
| project_status_changed |
|
|
|
| project_status_id |
Integer
|
Yes
|
|
| rating |
Integer
|
Yes
|
|
| row_gauge |
Decimal
|
Yes
|
|
| size |
String
|
Yes
|
|
| started |
Date
|
Yes
|
|
| started_day_set |
Boolean
|
|
If set to false, the "started" date day is unknown. It represents a month and year only
|
| status_name |
String
|
Yes
|
|
| tag_names |
Array
|
Yes
|
Array of tags (tags cannot contain commas)
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
User that is the Project owner
|
| user_id |
|
|
|
Project
(notes)
Attributes
| Name |
Type |
Nullable
|
Description |
| comments_count |
Integer
|
|
|
| completed |
Date
|
Yes
|
|
| completed_day_set |
Boolean
|
|
If set to false, the "completed" date day is unknown. It represents a month and year only
|
| craft_id |
Integer
|
Yes
|
|
| craft_name |
|
|
|
| created_at |
Date
|
|
|
| ends_per_inch |
Decimal
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| first_photo |
Photo
|
Yes
|
|
| gauge_divisor |
Integer
|
Yes
|
|
| gauge |
Decimal
|
Yes
|
|
| gauge_pattern |
String
|
Yes
|
|
| gauge_repeats |
Integer
|
Yes
|
|
| id |
Integer
|
|
|
| links |
Object
|
|
Links to the project on Ravelry
|
| made_for |
String
|
Yes
|
|
| made_for_user_id |
Integer
|
Yes
|
|
| name |
String
|
|
|
| notes_html |
String
|
Yes
|
Public project notes
|
| notes |
String
|
Yes
|
Public project notes, raw markdown before rendering as HTML and sanitizing
|
| pattern_id |
Integer
|
Yes
|
A project might have a pattern name and no pattern ID (if it is not linked to a Ravelry database pattern)
|
| pattern_name |
String
|
Yes
|
|
| permalink |
String
|
|
|
| personal_attributes |
Hash
|
Yes
|
Hash containing information related to this project's status in
the current user's notebook (favorited, bookmark_id, ...)
|
| photos_count |
Integer
|
|
|
| picks_per_inch |
Decimal
|
Yes
|
|
| progress |
Integer
|
Yes
|
|
| project_status_changed |
|
|
|
| project_status_id |
Integer
|
Yes
|
|
| rating |
Integer
|
Yes
|
|
| row_gauge |
Decimal
|
Yes
|
|
| size |
String
|
Yes
|
|
| started |
Date
|
Yes
|
|
| started_day_set |
Boolean
|
|
If set to false, the "started" date day is unknown. It represents a month and year only
|
| status_name |
String
|
Yes
|
|
| tag_names |
Array
|
Yes
|
Array of tags (tags cannot contain commas)
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
User that is the Project owner
|
| user_id |
|
|
|
Project
(list_with_packs)
Attributes
| Name |
Type |
Nullable
|
Description |
| comments_count |
Integer
|
|
|
| completed |
Date
|
Yes
|
|
| completed_day_set |
Boolean
|
|
If set to false, the "completed" date day is unknown. It represents a month and year only
|
| craft_id |
Integer
|
Yes
|
|
| craft_name |
|
|
|
| created_at |
Date
|
|
|
| ends_per_inch |
Decimal
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| first_photo |
Photo
|
Yes
|
|
| gauge_divisor |
Integer
|
Yes
|
|
| gauge |
Decimal
|
Yes
|
|
| gauge_pattern |
String
|
Yes
|
|
| gauge_repeats |
Integer
|
Yes
|
|
| id |
Integer
|
|
|
| links |
Object
|
|
Links to the project on Ravelry
|
| made_for |
String
|
Yes
|
|
| made_for_user_id |
Integer
|
Yes
|
|
| name |
String
|
|
|
| notes_html |
String
|
Yes
|
Public project notes
|
| notes |
String
|
Yes
|
Public project notes, raw markdown before rendering as HTML and sanitizing
|
| packs |
Pack
(full)
|
Yes
|
Array of pack records containing detailed information about an
allocation of yarn. Only allowed on project creation. For updating or
deleting use the pack API methods.
|
| pattern_id |
Integer
|
Yes
|
A project might have a pattern name and no pattern ID (if it is not linked to a Ravelry database pattern)
|
| pattern_name |
String
|
Yes
|
|
| permalink |
String
|
|
|
| personal_attributes |
Hash
|
Yes
|
Hash containing information related to this project's status in
the current user's notebook (favorited, bookmark_id, ...)
|
| photos_count |
Integer
|
|
|
| picks_per_inch |
Decimal
|
Yes
|
|
| progress |
Integer
|
Yes
|
|
| project_status_changed |
|
|
|
| project_status_id |
Integer
|
Yes
|
|
| rating |
Integer
|
Yes
|
|
| row_gauge |
Decimal
|
Yes
|
|
| size |
String
|
Yes
|
|
| started |
Date
|
Yes
|
|
| started_day_set |
Boolean
|
|
If set to false, the "started" date day is unknown. It represents a month and year only
|
| status_name |
String
|
Yes
|
|
| tag_names |
Array
|
Yes
|
Array of tags (tags cannot contain commas)
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
User that is the Project owner
|
| user_id |
|
|
|
Project
(small)
Attributes
| Name |
Type |
Nullable
|
Description |
| comments_count |
Integer
|
|
|
| completed |
Date
|
Yes
|
|
| completed_day_set |
Boolean
|
|
If set to false, the "completed" date day is unknown. It represents a month and year only
|
| craft_id |
Integer
|
Yes
|
|
| craft_name |
|
|
|
| created_at |
Date
|
|
|
| ends_per_inch |
Decimal
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| first_photo |
Photo
|
Yes
|
|
| gauge_divisor |
Integer
|
Yes
|
|
| gauge |
Decimal
|
Yes
|
|
| gauge_pattern |
String
|
Yes
|
|
| gauge_repeats |
Integer
|
Yes
|
|
| id |
Integer
|
|
|
| links |
Object
|
|
Links to the project on Ravelry
|
| made_for |
String
|
Yes
|
|
| made_for_user_id |
Integer
|
Yes
|
|
| name |
String
|
|
|
| pattern_id |
Integer
|
Yes
|
A project might have a pattern name and no pattern ID (if it is not linked to a Ravelry database pattern)
|
| pattern_name |
String
|
Yes
|
|
| permalink |
String
|
|
|
| photos_count |
Integer
|
|
|
| picks_per_inch |
Decimal
|
Yes
|
|
| progress |
Integer
|
Yes
|
|
| project_status_changed |
|
|
|
| project_status_id |
Integer
|
Yes
|
|
| rating |
Integer
|
Yes
|
|
| row_gauge |
Decimal
|
Yes
|
|
| size |
String
|
Yes
|
|
| started |
Date
|
Yes
|
|
| started_day_set |
Boolean
|
|
If set to false, the "started" date day is unknown. It represents a month and year only
|
| status_name |
String
|
Yes
|
|
| tag_names |
Array
|
Yes
|
Array of tags (tags cannot contain commas)
|
| updated_at |
Date
|
|
|
| user_id |
|
|
|
Project
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| comments_count |
Integer
|
|
|
| completed |
Date
|
Yes
|
|
| completed_day_set |
Boolean
|
|
If set to false, the "completed" date day is unknown. It represents a month and year only
|
| craft_id |
Integer
|
Yes
|
|
| craft_name |
|
|
|
| created_at |
Date
|
|
|
| ends_per_inch |
Decimal
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| gauge_divisor |
Integer
|
Yes
|
|
| gauge |
Decimal
|
Yes
|
|
| gauge_pattern |
String
|
Yes
|
|
| gauge_repeats |
Integer
|
Yes
|
|
| id |
Integer
|
|
|
| links |
Object
|
|
Links to the project on Ravelry
|
| made_for |
String
|
Yes
|
|
| made_for_user_id |
Integer
|
Yes
|
|
| name |
String
|
|
|
| needle_sizes |
|
|
|
| notes_html |
String
|
Yes
|
Public project notes
|
| notes |
String
|
Yes
|
Public project notes, raw markdown before rendering as HTML and sanitizing
|
| packs |
Pack
(full)
|
Yes
|
Array of pack records containing detailed information about an
allocation of yarn. Only allowed on project creation. For updating or
deleting use the pack API methods.
|
| pattern_id |
Integer
|
Yes
|
A project might have a pattern name and no pattern ID (if it is not linked to a Ravelry database pattern)
|
| pattern_name |
String
|
Yes
|
|
| permalink |
String
|
|
|
| personal_attributes |
Hash
|
Yes
|
Hash containing information related to this project's status in
the current user's notebook (favorited, bookmark_id, ...)
|
| photos |
(full)
|
|
|
| photos_count |
Integer
|
|
|
| picks_per_inch |
Decimal
|
Yes
|
|
| progress |
Integer
|
Yes
|
|
| project_status_changed |
|
|
|
| project_status_id |
Integer
|
Yes
|
|
| rating |
Integer
|
Yes
|
|
| row_gauge |
Decimal
|
Yes
|
|
| size |
String
|
Yes
|
|
| started |
Date
|
Yes
|
|
| started_day_set |
Boolean
|
|
If set to false, the "started" date day is unknown. It represents a month and year only
|
| status_name |
String
|
Yes
|
|
| tag_names |
Array
|
Yes
|
Array of tags (tags cannot contain commas)
|
| tools |
(full)
|
|
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
User that is the Project owner
|
| user_id |
|
|
|
Project
(full_for_owner)
Attributes
| Name |
Type |
Nullable
|
Description |
| comments_count |
Integer
|
|
|
| completed |
Date
|
Yes
|
|
| completed_day_set |
Boolean
|
|
If set to false, the "completed" date day is unknown. It represents a month and year only
|
| craft_id |
Integer
|
Yes
|
|
| craft_name |
|
|
|
| created_at |
Date
|
|
|
| ends_per_inch |
Decimal
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| gauge_divisor |
Integer
|
Yes
|
|
| gauge |
Decimal
|
Yes
|
|
| gauge_pattern |
String
|
Yes
|
|
| gauge_repeats |
Integer
|
Yes
|
|
| id |
Integer
|
|
|
| links |
Object
|
|
Links to the project on Ravelry
|
| made_for |
String
|
Yes
|
|
| made_for_user_id |
Integer
|
Yes
|
|
| name |
String
|
|
|
| needle_sizes |
|
|
|
| notes_html |
String
|
Yes
|
Public project notes
|
| notes |
String
|
Yes
|
Public project notes, raw markdown before rendering as HTML and sanitizing
|
| packs |
Pack
(full_for_owner)
|
Yes
|
Array of pack records containing detailed information about an
allocation of yarn. Only allowed on project creation. For updating or
deleting use the pack API methods.
|
| pattern_id |
Integer
|
Yes
|
A project might have a pattern name and no pattern ID (if it is not linked to a Ravelry database pattern)
|
| pattern_name |
String
|
Yes
|
|
| permalink |
String
|
|
|
| personal_attributes |
Hash
|
Yes
|
Hash containing information related to this project's status in
the current user's notebook (favorited, bookmark_id, ...)
|
| photos |
(full)
|
|
|
| photos_count |
Integer
|
|
|
| picks_per_inch |
Decimal
|
Yes
|
|
| private_notes_html |
String
|
Yes
|
Private project notes, only viewable by the project owner
|
| private_notes |
String
|
Yes
|
Private project notes, raw markdown before rendering as HTML and sanitizing
|
| progress |
Integer
|
Yes
|
|
| project_status_changed |
|
|
|
| project_status_id |
Integer
|
Yes
|
|
| rating |
Integer
|
Yes
|
|
| row_gauge |
Decimal
|
Yes
|
|
| size |
String
|
Yes
|
|
| started |
Date
|
Yes
|
|
| started_day_set |
Boolean
|
|
If set to false, the "started" date day is unknown. It represents a month and year only
|
| status_name |
String
|
Yes
|
|
| tag_names |
Array
|
Yes
|
Array of tags (tags cannot contain commas)
|
| tools |
(full)
|
|
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
User that is the Project owner
|
| user_id |
|
|
|
Project
(export)
Attributes
| Name |
Type |
Nullable
|
Description |
| comments_count |
Integer
|
|
|
| completed |
Date
|
Yes
|
|
| completed_day_set |
Boolean
|
|
If set to false, the "completed" date day is unknown. It represents a month and year only
|
| craft_id |
Integer
|
Yes
|
|
| craft_name |
|
|
|
| created_at |
Date
|
|
|
| ends_per_inch |
Decimal
|
Yes
|
|
| favorites_count |
Integer
|
|
|
| gauge_divisor |
Integer
|
Yes
|
|
| gauge |
Decimal
|
Yes
|
|
| gauge_pattern |
String
|
Yes
|
|
| gauge_repeats |
Integer
|
Yes
|
|
| id |
Integer
|
|
|
| links |
Object
|
|
Links to the project on Ravelry
|
| made_for |
String
|
Yes
|
|
| made_for_user_id |
Integer
|
Yes
|
|
| name |
String
|
|
|
| needle_sizes |
|
|
|
| notes_html |
String
|
Yes
|
Public project notes
|
| notes |
String
|
Yes
|
Public project notes, raw markdown before rendering as HTML and sanitizing
|
| packs |
Pack
(full)
|
Yes
|
Array of pack records containing detailed information about an
allocation of yarn. Only allowed on project creation. For updating or
deleting use the pack API methods.
|
| pattern_id |
Integer
|
Yes
|
A project might have a pattern name and no pattern ID (if it is not linked to a Ravelry database pattern)
|
| pattern_name |
String
|
Yes
|
|
| permalink |
String
|
|
|
| personal_attributes |
Hash
|
Yes
|
Hash containing information related to this project's status in
the current user's notebook (favorited, bookmark_id, ...)
|
| photos |
(full)
|
|
|
| photos_count |
Integer
|
|
|
| picks_per_inch |
Decimal
|
Yes
|
|
| private_notes_html |
String
|
Yes
|
Private project notes, only viewable by the project owner
|
| private_notes |
String
|
Yes
|
Private project notes, raw markdown before rendering as HTML and sanitizing
|
| progress |
Integer
|
Yes
|
|
| project_status_changed |
|
|
|
| project_status_id |
Integer
|
Yes
|
|
| rating |
Integer
|
Yes
|
|
| row_gauge |
Decimal
|
Yes
|
|
| size |
String
|
Yes
|
|
| started |
Date
|
Yes
|
|
| started_day_set |
Boolean
|
|
If set to false, the "started" date day is unknown. It represents a month and year only
|
| status_name |
String
|
Yes
|
|
| tag_names |
Array
|
Yes
|
Array of tags (tags cannot contain commas)
|
| tools |
(full)
|
|
|
| updated_at |
Date
|
|
|
| user_id |
|
|
|
Project
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| completed |
Date
|
Yes
|
|
| completed |
Date
|
Yes
|
|
| craft_id |
Integer
|
Yes
|
|
| craft_id |
Integer
|
Yes
|
|
| ends_per_inch |
|
|
|
| gauge |
|
|
|
| gauge_divisor |
|
|
|
| gauge_pattern |
|
|
|
| gauge_repeats |
|
|
|
| made_for |
String
|
Yes
|
|
| made_for_user_id |
Integer
|
Yes
|
|
| made_for_user_id |
Integer
|
Yes
|
|
| name |
String
|
|
|
| needle_sizes |
Array,
Object
(POST)
|
Yes
|
List of needle size IDs. We will replace any existing needles with the contents of this array.
|
| notes |
String
|
Yes
|
Public project notes
|
| packs |
Pack
(POST)
|
Yes
|
Array of pack records containing detailed information
about an allocation of yarn. Only allowed on project creation. For
updating or deleting use the pack API methods.
|
| pattern_id |
Integer
|
Yes
|
A project might have a pattern name and no pattern ID (if it is not linked to a Ravelry database pattern)
|
| personal_pattern_name |
String
|
Yes
|
|
| picks_per_inch |
|
|
|
| private_notes |
String
|
Yes
|
Private project notes, only viewable by the project owner
|
| progress |
Integer
|
Yes
|
|
| project_status_id |
Integer
|
Yes
|
|
| project_status_id |
Integer
|
Yes
|
|
| rating |
Integer
|
Yes
|
|
| row_gauge |
|
|
|
| size |
String
|
Yes
|
|
| started |
Date
|
Yes
|
|
| started |
Date
|
Yes
|
|
| tag_names |
Array
(POST)
|
Yes
|
Array of tags (tags cannot contain commas)
|
ForumStatisticSummary
ForumStatisticSummary
Attributes
| Name |
Type |
Nullable
|
Description |
| forum_id |
Integer
|
|
|
| new_topics_30day |
Integer
|
|
|
| new_topics_7day |
Integer
|
|
|
| new_topics_avg |
Integer
|
|
|
| pageviews_30day |
Integer
|
|
|
| pageviews_7day |
Integer
|
|
|
| pageviews_avg |
Integer
|
|
|
| posts_30day |
Integer
|
|
|
| posts_7day |
Integer
|
|
|
| posts_avg |
Integer
|
|
|
| unique_pageviews_30day |
Integer
|
|
|
| unique_pageviews_7day |
Integer
|
|
|
| unique_pageviews_avg |
Integer
|
|
|
PatternTagging
PatternTagging
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| pattern_attribute_id |
Integer
|
|
|
| pattern_id |
Integer
|
|
|
PatternTagging
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| pattern_attribute |
PatternAttribute
(list)
|
|
Pattern attribute
|
| pattern_attribute_id |
Integer
|
|
|
| pattern_id |
Integer
|
|
|
PatternTagging
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| pattern_attribute_id |
Integer
|
|
|
AttributeGroup
AttributeGroup
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| children |
Array,
AttributeGroup
(list)
|
|
Child attribute groups (subgroups)
|
| id |
Integer
|
|
|
| name |
String
|
|
Attribute group name
|
| pattern_attributes |
Array,
PatternAttribute
(list)
|
|
Attributes contained in this group
|
| permalink |
String
|
|
|
YarnAttributeGroup
YarnAttributeGroup
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| name |
String
|
|
Attribute group name
|
| permalink |
String
|
|
|
YarnAttributeGroup
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| name |
String
|
|
Attribute group name
|
| permalink |
String
|
|
|
YarnAttributeGroup
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| children |
Array,
YarnAttributeGroup
(list)
|
|
Child yarn attribute groups (subgroups)
|
| id |
Integer
|
|
|
| name |
String
|
|
Attribute group name
|
| permalink |
String
|
|
|
| yarn_attributes |
|
|
|
YarnCountry
YarnCountry
Attributes
| Name |
Type |
Nullable
|
Description |
| advertising_shops |
Integer
|
|
Number of shops that are advertising this yarn
|
| country_id |
Integer
|
|
Country identifier
|
| id |
Integer
|
|
|
| shops_with_patrons |
Integer
|
|
Number of unique shops where this yarn was purchased (recently or at any time in the past)
|
| shops_with_patrons_30days |
Integer
|
|
Number of unique shops where this yarn was purchased during the last 30 days
|
| shops_with_patrons_60days |
Integer
|
|
Number of unique shops where this yarn was purchased during the last 60 days
|
| shops_with_patrons_90days |
Integer
|
|
Number of unique shops where this yarn was purchased during the last 90 days
|
| yarn_id |
Integer
|
|
Yarn identifier
|
YarnCountry
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| advertising_shops |
Integer
|
|
Number of shops that are advertising this yarn
|
| country_id |
Integer
|
|
Country identifier
|
| country_name |
|
|
|
| id |
Integer
|
|
|
| shops_with_patrons |
Integer
|
|
Number of unique shops where this yarn was purchased (recently or at any time in the past)
|
| shops_with_patrons_30days |
Integer
|
|
Number of unique shops where this yarn was purchased during the last 30 days
|
| shops_with_patrons_60days |
Integer
|
|
Number of unique shops where this yarn was purchased during the last 60 days
|
| shops_with_patrons_90days |
Integer
|
|
Number of unique shops where this yarn was purchased during the last 90 days
|
| yarn_id |
Integer
|
|
Yarn identifier
|
FiberType
FiberType
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| animal_fiber |
Boolean
|
|
|
| id |
Integer
|
|
|
| name |
String
|
|
|
| synthetic |
Boolean
|
|
|
| vegetable_fiber |
Boolean
|
|
|
Pack
Pack
(stash)
Attributes
| Name |
Type |
Nullable
|
Description |
| color_attributes |
|
|
|
| color_family_id |
String
|
Yes
|
Color family. See /color_families.json
|
| colorway |
|
|
|
| dye_lot |
String
|
Yes
|
Dye lot, name or number from ball band or free-form text
|
| grams_per_skein |
|
|
|
| id |
|
|
|
| meters_per_skein |
|
|
|
| ounces_per_skein |
|
|
|
| personal_name |
String
|
Yes
|
Personal name, use if not linking to a database yarn
|
| prefer_metric_length |
|
|
|
| prefer_metric_weight |
|
|
|
| primary_pack_id |
|
|
|
| project_id |
Integer
|
Yes
|
Project the pack is affiliated with
|
| quantity_description |
|
|
|
| shop_id |
Integer
|
Yes
|
Shop that the yarn was purchased from. See /shops/
|
| shop_name |
|
|
|
| skeins |
String
|
Yes
|
# of skeins of this yarn.
|
| stash_id |
Integer
|
Yes
|
Stash the pack is affiliated with
|
| thread_size |
|
|
|
| total_grams |
|
|
|
| total_meters |
|
|
|
| total_ounces |
|
|
|
| total_yards |
|
|
|
| yards_per_skein |
|
|
|
| yarn_id |
Integer
|
Yes
|
Yarn that this pack (allocation of yarn) is linked to. NOTE: you
only need to supply the yarn if you are associating a pack with a
project and that pack is not also associated with a stash entry. On
Ravelry, this would be akin to adding a yarn to your project and
linking it to a yarn (and not a stash entry)
|
Pack
(stash_for_owner)
Attributes
| Name |
Type |
Nullable
|
Description |
| color_attributes |
|
|
|
| color_family_id |
String
|
Yes
|
Color family. See /color_families.json
|
| colorway |
|
|
|
| dye_lot |
String
|
Yes
|
Dye lot, name or number from ball band or free-form text
|
| grams_per_skein |
|
|
|
| id |
|
|
|
| meters_per_skein |
|
|
|
| ounces_per_skein |
|
|
|
| personal_name |
String
|
Yes
|
Personal name, use if not linking to a database yarn
|
| prefer_metric_length |
|
|
|
| prefer_metric_weight |
|
|
|
| primary_pack_id |
|
|
|
| project_id |
Integer
|
Yes
|
Project the pack is affiliated with
|
| quantity_description |
|
|
|
| shop_id |
Integer
|
Yes
|
Shop that the yarn was purchased from. See /shops/
|
| shop_name |
|
|
|
| skeins |
String
|
Yes
|
# of skeins of this yarn.
|
| stash_id |
Integer
|
Yes
|
Stash the pack is affiliated with
|
| thread_size |
|
|
|
| total_grams |
|
|
|
| total_meters |
|
|
|
| total_ounces |
|
|
|
| total_paid_currency |
|
|
|
| total_paid |
|
|
|
| total_yards |
|
|
|
| yards_per_skein |
|
|
|
| yarn_id |
Integer
|
Yes
|
Yarn that this pack (allocation of yarn) is linked to. NOTE: you
only need to supply the yarn if you are associating a pack with a
project and that pack is not also associated with a stash entry. On
Ravelry, this would be akin to adding a yarn to your project and
linking it to a yarn (and not a stash entry)
|
Pack
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| color_family_id |
String
|
Yes
|
Color family. See /color_families.json
|
| colorway |
|
|
|
| dye_lot |
String
|
Yes
|
Dye lot, name or number from ball band or free-form text
|
| grams_per_skein |
|
|
|
| id |
|
|
|
| meters_per_skein |
|
|
|
| ounces_per_skein |
|
|
|
| personal_name |
String
|
Yes
|
Personal name, use if not linking to a database yarn
|
| prefer_metric_length |
|
|
|
| prefer_metric_weight |
|
|
|
| primary_pack_id |
|
|
|
| project_id |
Integer
|
Yes
|
Project the pack is affiliated with
|
| quantity_description |
|
|
|
| shop_id |
Integer
|
Yes
|
Shop that the yarn was purchased from. See /shops/
|
| shop_name |
|
|
|
| skeins |
String
|
Yes
|
# of skeins of this yarn.
|
| stash_id |
Integer
|
Yes
|
Stash the pack is affiliated with
|
| thread_size |
|
|
|
| total_grams |
|
|
|
| total_meters |
|
|
|
| total_ounces |
|
|
|
| total_yards |
|
|
|
| yards_per_skein |
|
|
|
| yarn |
|
|
|
| yarn_id |
Integer
|
Yes
|
Yarn that this pack (allocation of yarn) is linked to. NOTE: you
only need to supply the yarn if you are associating a pack with a
project and that pack is not also associated with a stash entry. On
Ravelry, this would be akin to adding a yarn to your project and
linking it to a yarn (and not a stash entry)
|
| yarn_name |
|
|
|
| yarn_weight |
|
|
|
Pack
(full_for_owner)
Attributes
| Name |
Type |
Nullable
|
Description |
| color_family_id |
String
|
Yes
|
Color family. See /color_families.json
|
| colorway |
|
|
|
| dye_lot |
String
|
Yes
|
Dye lot, name or number from ball band or free-form text
|
| grams_per_skein |
|
|
|
| id |
|
|
|
| meters_per_skein |
|
|
|
| ounces_per_skein |
|
|
|
| personal_name |
String
|
Yes
|
Personal name, use if not linking to a database yarn
|
| prefer_metric_length |
|
|
|
| prefer_metric_weight |
|
|
|
| primary_pack_id |
|
|
|
| project_id |
Integer
|
Yes
|
Project the pack is affiliated with
|
| quantity_description |
|
|
|
| shop_id |
Integer
|
Yes
|
Shop that the yarn was purchased from. See /shops/
|
| shop_name |
|
|
|
| skeins |
String
|
Yes
|
# of skeins of this yarn.
|
| stash_id |
Integer
|
Yes
|
Stash the pack is affiliated with
|
| thread_size |
|
|
|
| total_grams |
|
|
|
| total_meters |
|
|
|
| total_ounces |
|
|
|
| total_paid_currency |
|
|
|
| total_paid |
|
|
|
| total_yards |
|
|
|
| yards_per_skein |
|
|
|
| yarn |
|
|
|
| yarn_id |
Integer
|
Yes
|
Yarn that this pack (allocation of yarn) is linked to. NOTE: you
only need to supply the yarn if you are associating a pack with a
project and that pack is not also associated with a stash entry. On
Ravelry, this would be akin to adding a yarn to your project and
linking it to a yarn (and not a stash entry)
|
| yarn_name |
|
|
|
| yarn_weight |
|
|
|
Pack
(public)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| yarn_id |
Integer
|
Yes
|
Yarn that this pack (allocation of yarn) is linked to.
NOTE: you only need to supply the yarn if you are associating a pack
with a project and that pack is not also associated with a stash entry.
On Ravelry, this would be akin to adding a yarn to your project and
linking it to a yarn (and not a stash entry)
|
Pack
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| color_family_id |
String
|
Yes
|
Color family. See /color_families.json
|
| colorway |
String
|
Yes
|
Colorway. Number or name from ball band or free form description.
|
| dye_lot |
String
|
Yes
|
Dye lot, name or number from ball band or free-form text
|
| length_units |
String
|
Yes
|
One of 'yards', 'meters'
|
| personal_gauge_divisor |
String
|
Yes
|
Personal gauge info, use if not linking to a database yarn
|
| personal_max_gauge |
Integer
|
Yes
|
Personal gauge info, use if not linking to a database yarn
|
| personal_min_gauge |
Integer
|
Yes
|
Personal gauge info, use if not linking to a database yarn
|
| personal_name |
String
|
Yes
|
Personal name, use if not linking to a database yarn
|
| personal_shop_name |
String
|
Yes
|
Personal purchase information, use if not linking to a shop
|
| personal_thread_size |
|
|
|
| personal_yarn_weight_id |
Integer
|
Yes
|
Personal yarn weight, use if not linking to a yarn. See /yarn_weights.json
|
| project_id |
Integer
|
Yes
|
Project the pack is affiliated with
|
| purchased_city |
String
|
Yes
|
Personal purchase information, use if not linking to a shop
|
| purchased_country_id |
Integer
|
Yes
|
Personal purchase information, use if not linking to a shop
|
| purchased_date |
Date
|
Yes
|
Date that the yarn was purchased. YYYY-MM-DD format.
|
| purchased_state_id |
Integer
|
Yes
|
Personal purchase information, use if not linking to a shop
|
| purchased_url |
String
|
Yes
|
Personal purchase information, use if not linking to a shop
|
| shop_id |
Integer
|
Yes
|
Shop that the yarn was purchased from. See /shops/
|
| skein_length |
String
|
Yes
|
length of a skein of this yarn.
|
| skein_weight |
String
|
Yes
|
weight of a skein of this yarn.
|
| skeins |
String
|
Yes
|
# of skeins of this yarn.
|
| stash_id |
Integer
|
Yes
|
Stash the pack is affiliated with
|
| total_length |
String
|
Yes
|
length of this allocation of yarn.
|
| total_paid |
String
|
Yes
|
Amount paid for this quantity of yarn
|
| total_paid_currency |
String
|
Yes
|
3 character currency code
|
| total_weight |
String
|
Yes
|
weight of this allocation of yarn.
|
| weight_units |
String
|
Yes
|
One of 'grams', 'ounces'
|
| yarn_id |
Integer
|
Yes
|
Yarn that this pack (allocation of yarn) is linked to. NOTE: you
only need to supply the yarn if you are associating a pack with a
project and that pack is not also associated with a stash entry. On
Ravelry, this would be akin to adding a yarn to your project and
linking it to a yarn (and not a stash entry)
|
Topic
Topic
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| archived |
Boolean
|
|
|
| created_at |
Date
|
|
|
| forum_id |
Integer
|
|
|
| forum_images_count |
Integer
|
|
|
| forum_posts_count |
Integer
|
|
|
| id |
Integer
|
|
|
| ignored |
|
|
|
| last_read |
Integer
|
|
Post number for the last post that the current user has read
|
| latest_reply |
Integer
|
|
Post number for the latest reply
|
| locked |
Boolean
|
|
Topic is marked as "locked" and does not accept replies
|
| no_chat |
|
|
|
| replied_at |
Date
|
|
|
| sticky |
Boolean
|
|
Topic is marked as "no chat" and does not accept replies to individual posts
|
| title |
String
|
|
|
| watched |
|
|
|
Topic
(browse)
Attributes
| Name |
Type |
Nullable
|
Description |
| archived |
Boolean
|
|
|
| created_at |
Date
|
|
|
| forum |
Forum
(small)
|
|
|
| forum_id |
Integer
|
|
|
| forum_images_count |
Integer
|
|
|
| forum_posts_count |
Integer
|
|
|
| id |
Integer
|
|
|
| ignored |
|
|
|
| last_read |
Integer
|
|
Post number for the last post that the current user has read
|
| latest_reply |
Integer
|
|
Post number for the latest reply
|
| locked |
Boolean
|
|
Topic is marked as "locked" and does not accept replies
|
| no_chat |
|
|
|
| replied_at |
Date
|
|
|
| sticky |
Boolean
|
|
Topic is marked as "no chat" and does not accept replies to individual posts
|
| title |
String
|
|
|
| watched |
|
|
|
Topic
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| archived |
Boolean
|
|
|
| can_edit_as_moderator |
|
|
|
| created_at |
Date
|
|
|
| created_by_user |
|
|
|
| forum |
Forum
(small)
|
|
|
| forum_id |
Integer
|
|
|
| forum_images_count |
Integer
|
|
|
| forum_posts_count |
Integer
|
|
|
| id |
Integer
|
|
|
| ignored |
|
|
|
| last_read |
|
|
|
| latest_reply |
Integer
|
|
Post number for the latest reply
|
| locked |
Boolean
|
|
Topic is marked as "locked" and does not accept replies
|
| no_chat |
|
|
|
| replied_at |
Date
|
|
|
| sticky |
Boolean
|
|
Topic is marked as "no chat" and does not accept replies to individual posts
|
| summary_html |
String
|
Yes
|
Summary/notes section rendered into HTML
|
| summary |
|
|
|
| title |
String
|
|
|
| watched |
|
|
|
Group
Group
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| badge_url |
String
|
Yes
|
URL to badge image
|
| banner_url |
String
|
Yes
|
URL to banner image
|
| created_at |
Date
|
|
|
| forum |
Forum
(list)
|
|
The forum associated with this group
|
| forum_id |
Integer
|
|
|
| id |
Integer
|
|
|
| mature |
Boolean
|
|
True if the owners have marked the group as "mature"
|
| name |
String
|
|
Name of this group
|
| permalink |
String
|
|
|
| short_description |
String
|
|
Short description of this group
|
UnifiedStash
UnifiedStash
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| fiber_stash |
FiberStash
|
Yes
|
If this is a fiber stash result, the fiber stash model will be present under this key
|
| stash |
Stash
|
Yes
|
If this is a stash result, the stash model will be present under this key
|
ProductNotification
ProductNotification
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
Creation date
|
| id |
Integer
|
|
Product notification identifier
|
| message |
String
|
Yes
|
Message included in the notification, in markdown format
|
| message_html |
String
|
Yes
|
Message included in the notification, in HTML format
|
| product_id |
Integer
|
|
ID of the product this notification is related to
|
| version |
String
|
Yes
|
File version info for this notification
|
Saleable
Saleable
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
When the record was created
|
| id |
Integer
|
|
Saleable ID. A Saleable record connects a Product to
the Pattern or PatternSource page where that Product is listed for sale.
|
| product_id |
Integer
|
|
Product ID
|
| saleable_id |
Integer
|
|
ID for the associated record (a Pattern, PatternSource, or DraftPattern)
|
| saleable_type |
String
|
|
Type of the associated record ("Pattern", "PatternSource", or "DraftPattern")
|
| updated_at |
Date
|
|
When the record was last updated
|
Product
Product
(javascript)
Attributes
| Name |
Type |
Nullable
|
Description |
| active |
Boolean
|
|
Product is active and available for purchase. Can be set to
false at any time, can be set to true if the product is set up
(including attachments) and the store is open for business.
|
| id |
Integer
|
|
Product identifier
|
| pretty_price |
String
|
|
price with currency symbol
|
| price |
String
|
Yes
|
Price, for non-free products
|
| sku |
String
|
|
Product SKU. Typically you will keep the default unless matching SKUs in external systems is needed/desirable
|
| store_id |
String
|
|
Store identifier
|
| title |
String
|
|
Product title/description
|
Product
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| active |
Boolean
|
|
Product is active and available for purchase. Can be set to
false at any time, can be set to true if the product is set up
(including attachments) and the store is open for business.
|
| attachment_bytes |
Integer
|
|
total size of files attached to the product
|
| currency |
String
|
Yes
|
3 character currency code, for non-free products
|
| designer_photos_count |
Integer
|
|
the number of photos associated with the product that were
created by the designer (ie. contributed user photos are not included)
|
| free |
Boolean
|
Yes
|
Free, true for free products
|
| has_notes |
|
|
|
| id |
Integer
|
|
Product identifier
|
| languages |
Array,
String
|
|
list of language codes that the included files cover (ISO 639-1
language codes) If the list is not known, an empty array is returned.
|
| mature_content |
Boolean
|
|
true if the linked item's subject matter, title, or image is classified as "mature content"
|
| photos_count |
Integer
|
|
the number of photos associated with the product
|
| pretty_price |
String
|
|
price with currency symbol
|
| price |
String
|
Yes
|
Price, for non-free products
|
| product_type |
|
|
|
| saleables |
|
|
|
| sku |
String
|
|
Product SKU. Typically you will keep the default unless matching SKUs in external systems is needed/desirable
|
| square_thumbnail_url |
|
|
|
| store_id |
String
|
|
Store identifier
|
| title |
String
|
|
Product title/description
|
Product
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| active |
Boolean
|
|
Product is active and available for purchase. Can be set to
false at any time, can be set to true if the product is set up
(including attachments) and the store is open for business.
|
| attachments |
|
|
|
| currency |
String
|
Yes
|
3 character currency code, for non-free products
|
| free |
Boolean
|
Yes
|
Free, true for free products
|
| id |
Integer
|
|
Product identifier
|
| pattern_sources |
Array,
PatternSource
|
|
The pattern sources that are currently associated with this product
|
| patterns |
Array,
Pattern
|
|
The patterns that are currently associated with this product
|
| pretty_price |
String
|
|
price with currency symbol
|
| pretty_wholesale_price |
String
|
Yes
|
wholesale price with currency symbol
|
| price |
String
|
Yes
|
Price, for non-free products
|
| product_type |
|
|
|
| saleables |
|
|
|
| sku |
String
|
|
Product SKU. Typically you will keep the default unless matching SKUs in external systems is needed/desirable
|
| store_id |
String
|
|
Store identifier
|
| title |
String
|
|
Product title/description
|
| wholesale_price |
String
|
Yes
|
price paid by yarn stores participating in In Store Sales
|
Product
(delivery)
Attributes
| Name |
Type |
Nullable
|
Description |
| active |
Boolean
|
|
Product is active and available for purchase. Can be
set to false at any time, can be set to true if the product is set up
(including attachments) and the store is open for business.
|
| id |
Integer
|
|
Product identifier
|
| pattern_sources |
Array,
PatternSource
|
|
The pattern sources that are currently associated with this product
|
| patterns |
Array,
Pattern
|
|
The patterns that are currently associated with this product
|
| product_type |
|
|
|
| sku |
String
|
|
Product SKU. Typically you will keep the default unless matching SKUs in external systems is needed/desirable
|
| store_id |
String
|
|
Store identifier
|
| title |
String
|
|
Product title/description
|
Product
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| active |
Boolean
|
|
Product is active and available for purchase. Can be set to
false at any time, can be set to true if the product is set up
(including attachments) and the store is open for business.
|
| currency |
String
|
Yes
|
3 character currency code, for non-free products
|
| free |
Boolean
|
Yes
|
Free, true for free products
|
| price |
String
|
Yes
|
Price, for non-free products
|
| reporting_tag |
String
|
Yes
|
Optional tag that appears in data exports. Not visible to customers.
|
| sku |
String
|
|
Product SKU. Typically you will keep the default unless matching SKUs in external systems is needed/desirable
|
| title |
String
|
|
Product title/description
|
| wholesale |
Boolean
|
Yes
|
For stores that are enrolled in In Store Sales program, set this
to true to make a product available to Local Yarn Stores via In Store
Sales
|
Ad
Ad
(shop)
Attributes
| Name |
Type |
Nullable
|
Description |
| logo_url |
|
|
|
| target_url |
String
|
|
|
ForumPreference
ForumPreference
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| forum |
Forum
|
|
|
| position |
Integer
|
|
User's sort order for this forum
|
DraftErrataLink
DraftErrataLink
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
|
|
|
| draft_pattern_id |
|
|
|
| id |
|
|
|
| updated_at |
|
|
|
| url |
|
|
|
NeedleRecord
NeedleRecord
(small)
Attributes
| Name |
Type |
Nullable
|
Description |
| comment |
|
|
|
| id |
|
|
|
| needle_type_id |
|
|
|
NeedleRecord
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| comment |
|
|
|
| id |
|
|
|
| needle_type |
|
|
|
| needle_type_id |
|
|
|
QueuedStash
QueuedStash
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
|
|
|
| id |
|
|
|
| queued_project_id |
|
|
|
| stash |
|
|
|
| stash_id |
|
|
|
| updated_at |
|
|
|
FiberStash
FiberStash
Attributes
| Name |
Type |
Nullable
|
Description |
| colorway_name |
|
|
|
| comments_count |
Integer
|
|
|
| created_at |
Date
|
|
|
| favorites_count |
Integer
|
|
|
| fiber_company_name |
String
|
Yes
|
|
| first_photo |
Photo
|
|
|
| has_photo |
Boolean
|
Yes
|
|
| id |
Integer
|
|
|
| location |
String
|
Yes
|
|
| long_name |
String
|
Yes
|
name including the fiber company name
|
| name |
String
|
Yes
|
The name that the user has given this stash entry
|
| permalink |
String
|
|
|
| stash_status |
StashStatus
|
Yes
|
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
|
| user_id |
Integer
|
|
|
FiberStash
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| colorway_name |
|
|
|
| comments_count |
Integer
|
|
|
| created_at |
Date
|
|
|
| favorites_count |
Integer
|
|
|
| fiber_company_name |
String
|
Yes
|
|
| first_photo |
Photo
|
|
|
| has_photo |
Boolean
|
Yes
|
|
| id |
Integer
|
|
|
| location |
String
|
Yes
|
|
| long_name |
String
|
Yes
|
name including the fiber company name
|
| name |
String
|
Yes
|
The name that the user has given this stash entry
|
| permalink |
String
|
|
|
| stash_status |
StashStatus
|
Yes
|
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
|
| user_id |
Integer
|
|
|
FiberStash
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| colorway_name |
|
|
|
| comments_count |
Integer
|
|
|
| created_at |
Date
|
|
|
| favorites_count |
Integer
|
|
|
| fiber_company_name |
String
|
Yes
|
|
| fiber_packs |
FiberPack
(stash)
|
|
|
| has_photo |
Boolean
|
Yes
|
|
| id |
Integer
|
|
|
| location |
String
|
Yes
|
|
| long_name |
String
|
Yes
|
name including the fiber company name
|
| name |
String
|
Yes
|
The name that the user has given this stash entry
|
| notes_html |
String
|
|
Notes for this entry, rendered as HTML
|
| permalink |
String
|
|
|
| photos |
Photo
(full)
|
|
|
| stash_status |
StashStatus
|
Yes
|
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
|
| user_id |
Integer
|
|
|
FiberStash
(export)
Attributes
| Name |
Type |
Nullable
|
Description |
| colorway_name |
|
|
|
| comments_count |
Integer
|
|
|
| created_at |
Date
|
|
|
| favorites_count |
Integer
|
|
|
| fiber_company_name |
String
|
Yes
|
|
| fiber_packs |
FiberPack
(stash)
|
|
|
| has_photo |
Boolean
|
Yes
|
|
| id |
Integer
|
|
|
| location |
String
|
Yes
|
|
| long_name |
String
|
Yes
|
name including the fiber company name
|
| name |
String
|
Yes
|
The name that the user has given this stash entry
|
| notes_html |
String
|
|
Notes for this entry, rendered as HTML
|
| permalink |
String
|
|
|
| photos |
Photo
(full)
|
|
|
| stash_status |
StashStatus
|
Yes
|
|
| updated_at |
Date
|
|
|
| user_id |
Integer
|
|
|
FiberStash
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| fiber_company_name |
String
|
Yes
|
|
| fiber_pack |
|
|
|
| location |
String
|
Yes
|
|
| name |
String
|
Yes
|
The name that the user has given this stash entry
|
| notes |
|
|
|
| stash_status_id |
|
|
|
YarnCompany
YarnCompany
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| logo_url |
|
|
|
| name |
|
|
|
| permalink |
|
|
|
| url |
|
|
|
| yarns_count |
|
|
|
YarnCompany
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| logo_url |
|
|
|
| name |
|
|
|
| permalink |
|
|
|
| url |
|
|
|
| yarns_count |
|
|
|
YarnCompany
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| logo_url |
|
|
|
| name |
|
|
|
| permalink |
|
|
|
| url |
|
|
|
| yarns_count |
|
|
|
YarnCompany
(public)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| name |
|
|
|
| permalink |
|
|
|
| url |
|
|
|
YarnCompany
(shop)
Attributes
| Name |
Type |
Nullable
|
Description |
| advertised |
|
|
|
| id |
|
|
|
| most_recent_purchase |
|
|
|
| name |
|
|
|
| permalink |
|
|
|
| purchases |
|
|
|
InvoiceLineItem
InvoiceLineItem
(sale)
Attributes
| Name |
Type |
Nullable
|
Description |
| amount |
Decimal
|
|
Amount of the invoice attributed to this item. WIll be negative for promotions.
|
| id |
Integer
|
|
Invoice line item ID
|
| product_id |
Integer
|
Yes
|
Promotion ID, if this item is a promotion
|
| promotion_id |
Integer
|
Yes
|
Product ID, if this item is a product
|
| promotional_discount_applied |
Decimal
|
Yes
|
If a promotion was applied to this product,
`promotional_discount_applied` will contain the share of the discount
that relates to this line item
|
| title |
|
|
|
YarnFiber
YarnFiber
(full)
YarnFiber
(public)
Attributes
| Name |
Type |
Nullable
|
Description |
| fiber_category_id |
|
|
|
| fiber_type_id |
|
|
|
| id |
Integer
|
|
|
| percentage |
Integer
|
|
|
PatternCategory
PatternCategory
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| name |
String
|
|
Short category name
|
| parent |
|
|
|
| permalink |
String
|
|
|
PatternCategory
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| children |
Array,
PatternCategory
(list)
|
|
Child categories (subcategories)
|
| id |
Integer
|
|
|
| long_name |
String
|
|
Descriptive category name
|
| name |
String
|
|
Short category name
|
| permalink |
String
|
|
|
Photo
Photo
Attributes
| Name |
Type |
Nullable
|
Description |
| aspect_ratio |
Float
|
|
Aspect ratio of the photo
|
| caption |
String
|
Yes
|
Photo caption
|
| caption_html |
String
|
Yes
|
Photo caption, with image tags instead of emoji
|
| copyright_holder |
|
|
|
| id |
|
|
|
| medium2_url |
String
|
|
Medium2 image, 640 pixels on the longest side. For
larger images suitable for zooming, see /photos/{id}/sizes.json
|
| medium_url |
String
|
|
Medium image, 500 pixels on the longest side. You can get exact dimensions by using /photos/dimensions.json.
|
| small2_url |
String
|
|
Small2 image, 320 pixels on the longest side. You can get exact dimensions by using /photos/dimensions.json.
|
| small_url |
String
|
|
Small image, 240 pixels on the longest side. You can get exact dimensions by using /photos/dimensions.json.
|
| sort_order |
|
|
|
| square_url |
String
|
|
A tiny, square thumbnail, 75 x 75px
|
| thumbnail_url |
String
|
|
Thumbnail, 100 pixels on the longest side
|
| user_id |
Integer
|
|
User ID of the photo's owner/uploader
|
| x_offset |
Integer
|
Yes
|
X offset for centered photo. See POST /photos/{id}.json for more information.
|
| y_offset |
Integer
|
Yes
|
Y offset for centered photo. See POST /photos/{id}.json for more information.
|
Photo
(small)
Attributes
| Name |
Type |
Nullable
|
Description |
| aspect_ratio |
Float
|
|
Aspect ratio of the photo
|
| caption |
String
|
Yes
|
Photo caption
|
| caption_html |
String
|
Yes
|
Photo caption, with image tags instead of emoji
|
| copyright_holder |
|
|
|
| id |
|
|
|
| medium2_url |
String
|
|
Medium2 image, 640 pixels on the longest side. For
larger images suitable for zooming, see /photos/{id}/sizes.json
|
| medium_url |
String
|
|
Medium image, 500 pixels on the longest side. You can get exact dimensions by using /photos/dimensions.json.
|
| small2_url |
String
|
|
Small2 image, 320 pixels on the longest side. You can get exact dimensions by using /photos/dimensions.json.
|
| small_url |
String
|
|
Small image, 240 pixels on the longest side. You can get exact dimensions by using /photos/dimensions.json.
|
| sort_order |
|
|
|
| square_url |
String
|
|
A tiny, square thumbnail, 75 x 75px
|
| thumbnail_url |
String
|
|
Thumbnail, 100 pixels on the longest side
|
| user_id |
Integer
|
|
User ID of the photo's owner/uploader
|
| x_offset |
Integer
|
Yes
|
X offset for centered photo. See POST /photos/{id}.json for more information.
|
| y_offset |
Integer
|
Yes
|
Y offset for centered photo. See POST /photos/{id}.json for more information.
|
Photo
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| aspect_ratio |
Float
|
|
Aspect ratio of the photo
|
| caption |
String
|
Yes
|
Photo caption
|
| caption_html |
String
|
Yes
|
Photo caption, with image tags instead of emoji
|
| copyright_holder |
|
|
|
| flickr_url |
|
|
|
| id |
|
|
|
| medium2_url |
String
|
|
Medium2 image, 640 pixels on the longest side. For
larger images suitable for zooming, see /photos/{id}/sizes.json
|
| medium_url |
String
|
|
Medium image, 500 pixels on the longest side. You can get exact dimensions by using /photos/dimensions.json.
|
| shelved_url |
String
|
Yes
|
A book cover image, 150 pixels wide
|
| small2_url |
String
|
|
Small2 image, 320 pixels on the longest side. You can get exact dimensions by using /photos/dimensions.json.
|
| small_url |
String
|
|
Small image, 240 pixels on the longest side. You can get exact dimensions by using /photos/dimensions.json.
|
| sort_order |
|
|
|
| square_url |
String
|
|
A tiny, square thumbnail, 75 x 75px
|
| thumbnail_url |
String
|
|
Thumbnail, 100 pixels on the longest side
|
| user_id |
Integer
|
|
User ID of the photo's owner/uploader
|
| x_offset |
Integer
|
Yes
|
X offset for centered photo. See POST /photos/{id}.json for more information.
|
| y_offset |
Integer
|
Yes
|
Y offset for centered photo. See POST /photos/{id}.json for more information.
|
BundledItem
BundledItem
(small)
Attributes
| Name |
Type |
Nullable
|
Description |
| bundle_id |
Integer
|
|
Bundle ID
|
| id |
Integer
|
|
bundled item identifier
|
| item_id |
Integer
|
|
item identifier. May only be set during creation.
|
| item_type |
String
|
|
the type of item - clipping, pattern, designer,
project, stash, yarn_company, yarn, shop, forum_post, fiber_stash,
bundle, or pattern_source
|
| user |
User
(small)
|
|
User that is the item owner
|
BundledItem
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| bookmark |
Bookmark
(list)
|
Yes
|
Bookmark attached to bundled item
|
| bundle_id |
Integer
|
|
Bundle ID
|
| created_at |
Date
|
|
|
| id |
Integer
|
|
bundled item identifier
|
| item_id |
Integer
|
|
item identifier. May only be set during creation.
|
| item_type |
String
|
|
the type of item - clipping, pattern, designer,
project, stash, yarn_company, yarn, shop, forum_post, fiber_stash,
bundle, or pattern_source
|
| notes |
String
|
Yes
|
|
| updated_at |
Date
|
|
|
BundledItem
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| bookmark |
Bookmark
(full)
|
Yes
|
Bookmark attached to bundled item
|
| bundle_id |
Integer
|
|
Bundle ID
|
| created_at |
Date
|
|
|
| id |
Integer
|
|
bundled item identifier
|
| item_id |
Integer
|
|
item identifier. May only be set during creation.
|
| item_type |
String
|
|
the type of item - clipping, pattern, designer,
project, stash, yarn_company, yarn, shop, forum_post, fiber_stash,
bundle, or pattern_source
|
| notes |
String
|
Yes
|
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
User that is the item owner
|
BundledItem
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| bookmark_id |
Integer
|
|
Bookmark ID, if this item is associated with a favorite
|
| bundle_id |
Integer
|
|
Bundle ID
|
| item_id |
Integer
|
|
item identifier. May only be set during creation.
|
| item_id |
Integer
|
|
item identifier. May only be set during creation.
|
| item_type |
String
|
|
the type of item - clipping, pattern, designer,
project, stash, yarn_company, yarn, shop, forum_post, fiber_stash,
bundle, or pattern_source
|
| item_type |
String
|
|
the type of item - clipping, pattern, designer,
project, stash, yarn_company, yarn, shop, forum_post, fiber_stash,
bundle, or pattern_source
|
| notes |
String
|
Yes
|
|
| user_id |
Integer
|
|
User ID of the item owner.
|
ProjectStatus
ProjectStatus
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| name |
|
|
|
| permalink |
|
|
|
ComponentYarn
ComponentYarn
Attributes
| Name |
Type |
Nullable
|
Description |
| combined_yarn_weight_id |
Integer
|
|
Combined (effective) weight of all yarns held together
|
| id |
Integer
|
|
|
| pattern_id |
Integer
|
|
Pattern ID
|
| yarn_id |
Integer
|
|
Yarn ID
|
ComponentYarn
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| combined_yarn_weight_id |
Integer
|
|
Combined (effective) weight of all yarns held together
|
| created_at |
Date
|
|
|
| held_together_group |
Integer
|
Yes
|
|
| id |
Integer
|
|
|
| pattern_id |
Integer
|
|
Pattern ID
|
| updated_at |
Date
|
|
|
| yarn_id |
Integer
|
|
Yarn ID
|
ComponentYarn
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| combined_yarn_weight_id |
Integer
|
|
Combined (effective) weight of all yarns held together
|
| id |
Integer
|
|
|
| yarn_id |
Integer
|
|
Yarn ID
|
PatternSourceType
PatternSourceType
Attributes
| Name |
Type |
Nullable
|
Description |
| can_add_to_library |
|
|
|
| id |
Integer
|
|
|
| long_name |
|
|
|
| name |
String
|
|
Name of the source type
|
| requires_url |
Boolean
|
|
true if sources of this type require a URL
|
PatternSourceType
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| can_add_to_library |
|
|
|
| id |
Integer
|
|
|
| long_name |
|
|
|
| name |
String
|
|
Name of the source type
|
| requires_url |
Boolean
|
|
true if sources of this type require a URL
|
ForumSet
ForumSet
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| default |
|
|
|
| id |
|
|
|
| name |
|
|
|
| permalink |
|
|
|
| selected_forums |
|
|
|
| sort_order |
|
|
|
InStoreSale
InStoreSale
(receipt)
Attributes
| Name |
Type |
Nullable
|
Description |
| deliveries |
Array,
Delivery
(receipt)
|
|
Details about digital products that are being delivered to the customer
|
| id |
Integer
|
|
In Store Sale ID
|
| invoice |
Invoice
(receipt)
|
|
Invoice details
|
| seller_store_name |
String
|
|
Name of the seller store that is being purchased from
|
Page
Page
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| body |
|
|
|
| name |
|
|
|
Pattern
Pattern
Attributes
| Name |
Type |
Nullable
|
Description |
| designer |
PatternAuthor
|
|
|
| first_photo |
Photo
|
Yes
|
|
| id |
Integer
|
|
|
| name |
String
|
|
Pattern name
|
| pattern_author |
PatternAuthor
|
|
|
| pattern_sources |
|
|
|
| permalink |
String
|
|
|
Pattern
(link)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| name |
String
|
|
Pattern name
|
| permalink |
String
|
|
|
Pattern
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| designer |
PatternAuthor
|
|
|
| first_photo |
Photo
|
Yes
|
|
| free |
Boolean
|
|
Free pattern (available free from Ravelry or free from some other source)
|
| id |
Integer
|
|
|
| name |
String
|
|
Pattern name
|
| pattern_author |
PatternAuthor
|
|
|
| pattern_sources |
|
|
|
| permalink |
String
|
|
|
| personal_attributes |
Hash
|
|
Hash containing information related to this pattern's
status in the current user's notebook (queued, favorited, bookmark_id)
|
Pattern
(source_list)
Attributes
| Name |
Type |
Nullable
|
Description |
| first_photo |
Photo
|
Yes
|
|
| id |
Integer
|
|
|
| name |
String
|
|
Pattern name
|
| pattern_author |
PatternAuthor
|
|
|
| permalink |
String
|
|
|
Pattern
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| comments_count |
Integer
|
|
|
| craft |
Craft
(list)
|
|
|
| created_at |
Date
|
|
Date that this pattern record was created
|
| currency |
String
|
|
Currency for price. Will be a PayPal-supported currency:
https://www.paypal.com/cgi-bin/webscr?cmd=p/sell/mc/mc_wa-outside
|
| currency_symbol |
|
|
|
| difficulty_average |
Float
|
|
|
| difficulty_count |
Integer
|
|
|
| download_location |
DownloadLocation
|
|
Where to download or purchase the pattern - contains a URL, free flag, and type ("ravelry" or "external")
|
| downloadable |
Boolean
|
|
|
| favorites_count |
Integer
|
|
|
| free |
Boolean
|
|
Free pattern (available free from Ravelry or free from some other source)
|
| free |
Boolean
|
|
Free pattern (available free from Ravelry or free from some other source)
|
| gauge |
String
|
|
Gauge
|
| gauge_description |
String
|
|
|
| gauge_divisor |
Integer
|
|
Gauge divisor (ie. stitches per [divisor]"), in inches. Accepted
options: 1, 2, 4 corresponding to 1" (2.5cm), 2" (5cm), 4" (10cm).
|
| gauge_pattern |
String
|
|
Pattern for gauge (free form text)
|
| gauge_repeats |
String
|
|
|
| generally_available |
Date
|
|
Our best estimate of the date when this pattern first became available to the public. Not displayed on the pattern page.
|
| has_uk_terminology |
Boolean
|
|
Crochet pattern includes UK terminology
|
| has_us_terminology |
Boolean
|
|
Crochet pattern includes US terminology
|
| id |
Integer
|
|
|
| languages |
|
|
|
| name |
String
|
|
Pattern name
|
| notes_html |
String
|
|
Pattern notes rendered as HTML.
|
| notes |
|
|
|
| packs |
Pack
(full)
|
|
Packs connect a pattern to a suggested yarn. Within a pack, only "yarn_id" is required.
|
| pattern_attributes |
Array,
PatternAttribute
|
|
|
| pattern_author |
PatternAuthor
|
|
|
| pattern_categories |
Array,
PatternCategory
|
|
|
| pattern_needle_sizes |
String
|
|
|
| pattern_type |
|
|
|
| pdf_in_library |
Boolean
|
|
Set to "true" if the user's library contains PDF files for this pattern.
|
| pdf_url |
String
|
|
|
| permalink |
String
|
|
|
| personal_attributes |
Hash
|
|
Hash containing information related to this pattern's status in
the current user's notebook (queued, favorited, bookmark_id)
|
| photos |
Array,
Photo
|
|
|
| price |
String
|
|
Price. If the pattern is associated with a Ravelry download, the
price is retrieved from the product and the price attribute is
read-only.
|
| printings |
Printing
(list)
|
|
|
| product_id |
Integer
|
|
Product ID for the product that is currently listed on the pattern page as a "buy now" option, if any
|
| projects_count |
Integer
|
|
|
| published |
Date
|
|
Date the pattern was published, displayed on the pattern page (also see "generally_available")
|
| queued_projects_count |
Integer
|
|
|
| rating_average |
Float
|
|
|
| rating_count |
Integer
|
|
|
| ravelry_download |
Boolean
|
|
|
| row_gauge |
String
|
|
Row gauge
|
| sizes_available |
String
|
|
|
| unlisted_product_ids |
Array,
Integer
|
|
Product IDs for products that are not currently listed on the
pattern page as a "buy now" option. Only present if the current user has
editing permissions.
|
| updated_at |
Date
|
|
Date that this pattern record was last updated
|
| url |
String
|
|
|
| volumes_in_library |
Array,
Integer
|
Yes
|
If the user has pattern PDFs in their library, the Volume IDs will be included. See /volumes/{id}.json
|
| yardage |
Integer
|
|
|
| yardage_description |
String
|
|
|
| yardage_max |
Integer
|
|
Maximum yardage. To supply meterage instead, see meterage_max.
|
| yarn_list_type |
|
|
|
| yarn_weight |
YarnWeight
(list)
|
|
|
| yarn_weight_description |
String
|
|
|
Pattern
(public)
Attributes
| Name |
Type |
Nullable
|
Description |
| craft_id |
Integer
|
|
craft ID (crochet = 1, knitting = 2)
|
| created_at |
Date
|
|
Date that this pattern record was created
|
| currency |
String
|
|
Currency for price. Will be a PayPal-supported
currency:
https://www.paypal.com/cgi-bin/webscr?cmd=p/sell/mc/mc_wa-outside
|
| currency_symbol |
|
|
|
| downloadable |
Boolean
|
|
|
| free |
Boolean
|
|
Free pattern (available free from Ravelry or free from some other source)
|
| free |
Boolean
|
|
Free pattern (available free from Ravelry or free from some other source)
|
| gauge |
String
|
|
Gauge
|
| gauge_description |
String
|
|
|
| gauge_divisor |
Integer
|
|
Gauge divisor (ie. stitches per [divisor]"), in
inches. Accepted options: 1, 2, 4 corresponding to 1" (2.5cm), 2" (5cm),
4" (10cm).
|
| gauge_pattern |
String
|
|
Pattern for gauge (free form text)
|
| gauge_repeats |
String
|
|
|
| generally_available |
Date
|
|
Our best estimate of the date when this pattern first
became available to the public. Not displayed on the pattern page.
|
| has_uk_terminology |
Boolean
|
|
Crochet pattern includes UK terminology
|
| has_us_terminology |
Boolean
|
|
Crochet pattern includes US terminology
|
| id |
Integer
|
|
|
| name |
String
|
|
Pattern name
|
| notes_html |
String
|
|
Pattern notes rendered as HTML.
|
| notes |
|
|
|
| packs |
Pack
(public)
|
|
Packs connect a pattern to a suggested yarn. Within a pack, only "yarn_id" is required.
|
| pattern_attribute_ids |
|
|
|
| pattern_author_id |
|
|
|
| pattern_category_ids |
|
|
|
| pattern_needle_sizes |
String
|
|
|
| pdf_url |
String
|
|
|
| permalink |
String
|
|
|
| price |
String
|
|
Price. If the pattern is associated with a Ravelry
download, the price is retrieved from the product and the price
attribute is read-only.
|
| printings |
Printing
(public)
|
|
|
| published |
Date
|
|
Date the pattern was published, displayed on the pattern page (also see "generally_available")
|
| row_gauge |
String
|
|
Row gauge
|
| sizes_available |
String
|
|
|
| updated_at |
Date
|
|
Date that this pattern record was last updated
|
| url |
String
|
|
|
| yardage |
Integer
|
|
|
| yardage_description |
String
|
|
|
| yardage_max |
Integer
|
|
Maximum yardage. To supply meterage instead, see meterage_max.
|
| yarn_list_type |
|
|
|
| yarn_weight_description |
String
|
|
|
| yarn_weight_id |
Integer
|
|
Yarn weight ID. See yarn_weights.json
|
Pattern
(oembed)
Attributes
| Name |
Type |
Nullable
|
Description |
| currency_code |
|
|
|
| name |
String
|
|
Pattern name
|
| price |
|
|
|
| title |
|
|
|
| url |
|
|
|
Pattern
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| component_yarns |
ComponentYarn
(POST)
|
|
(Only for patterns with yarns held together) Yarns held together
to create a single strand of yarn for the pattern. Each contains a yarn
ID and the final (combined) yarn weight ID (see yarn_weights.json)
|
| craft_id |
Integer
|
|
craft ID (crochet = 1, knitting = 2)
|
| currency |
String
|
|
Currency for price. Will be a PayPal-supported currency:
https://www.paypal.com/cgi-bin/webscr?cmd=p/sell/mc/mc_wa-outside
|
| free |
Boolean
|
|
Free pattern (available free from Ravelry or free from some other source)
|
| gauge |
String
|
|
Gauge
|
| gauge_divisor |
Integer
|
|
Gauge divisor (ie. stitches per [divisor]"), in inches. Accepted
options: 1, 2, 4 corresponding to 1" (2.5cm), 2" (5cm), 4" (10cm).
|
| gauge_divisor |
Integer
|
|
Gauge divisor (ie. stitches per [divisor]"), in inches. Accepted
options: 1, 2, 4 corresponding to 1" (2.5cm), 2" (5cm), 4" (10cm).
|
| gauge_pattern |
String
|
|
Pattern for gauge (free form text)
|
| gauge_repeats |
String
|
|
|
| has_uk_terminology |
Boolean
|
|
Crochet pattern includes UK terminology
|
| has_us_terminology |
Boolean
|
|
Crochet pattern includes US terminology
|
| meterage_max |
Integer
|
|
Maximum meterage. To supply yardage instead, see yardage_max.
|
| meterage_min |
Integer
|
|
Minimum meterage. To supply yardage instead, see yardage_min.
|
| name |
String
|
|
Pattern name
|
| notes |
String
|
|
Raw notes. May be mixed Markdown and HTML. Generally only useful when presenting a pattern notes editor.
|
| only_available_with_yarn_purchase |
|
|
|
| packs |
Pack
(POST)
|
|
Packs connect a pattern to a suggested yarn. Within a pack, only "yarn_id" is required.
|
| pattern_classifications |
PatternClassification
(POST)
|
|
|
| pattern_languages |
PatternLanguage
(POST)
|
|
|
| pattern_needle_sizes |
PatternNeedleSize
(POST)
|
|
|
| pattern_taggings |
PatternTagging
(POST)
|
|
|
| price |
String
|
|
Price. If the pattern is associated with a Ravelry download, the
price is retrieved from the product and the price attribute is
read-only.
|
| printings |
Printing
(POST)
|
|
|
| row_gauge |
String
|
|
Row gauge
|
| sizes_available |
String
|
|
Sizes available (free form text)
|
| url |
String
|
|
|
| yardage_max |
Integer
|
|
Maximum yardage. To supply meterage instead, see meterage_max.
|
| yardage_min |
Integer
|
|
Minimum yardage. To supply meterage instead, see meterage_min.
|
| yarn_held_together |
Boolean
|
|
"true" if component yarns are all held together
|
| yarn_list_type |
|
|
|
| yarn_weight_id |
Integer
|
|
Yarn weight ID. See yarn_weights.json
|
ForumPost
ForumPost
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
|
| deleted |
Boolean
|
|
If deleted, this flag will be set to true and the post body will contain a deletion message
|
| editable |
Boolean
|
|
True if the current user can edit this post
|
| id |
Integer
|
|
|
| parent_post_id |
Integer
|
Yes
|
Post ID of the parent post (the post that was replied to)
|
| parent_post_number |
Integer
|
Yes
|
Post number of the parent post (the post that was replied to)
|
| post_number |
Integer
|
|
|
| reply_count |
Integer
|
|
The number of replies to this post
|
| topic |
Topic
(list)
|
|
The topic (thread) containing the post
|
| topic_id |
Integer
|
|
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
The user who authored the post
|
ForumPost
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| body |
|
|
|
| body_html |
|
|
|
| created_at |
Date
|
|
|
| deleted |
Boolean
|
|
If deleted, this flag will be set to true and the post body will contain a deletion message
|
| editable |
Boolean
|
|
True if the current user can edit this post
|
| id |
Integer
|
|
|
| parent_post_id |
Integer
|
Yes
|
Post ID of the parent post (the post that was replied to)
|
| parent_post_number |
Integer
|
Yes
|
Post number of the parent post (the post that was replied to)
|
| parent_post_user |
(small)
|
|
|
| post_number |
Integer
|
|
|
| reply_count |
Integer
|
|
The number of replies to this post
|
| topic_id |
Integer
|
|
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
The user who authored the post
|
ForumPost
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| body |
|
|
|
| body_html |
|
|
|
| created_at |
Date
|
|
|
| deleted |
Boolean
|
|
If deleted, this flag will be set to true and the post body will contain a deletion message
|
| editable |
Boolean
|
|
True if the current user can edit this post
|
| id |
Integer
|
|
|
| parent_post_id |
Integer
|
Yes
|
Post ID of the parent post (the post that was replied to)
|
| parent_post_number |
Integer
|
Yes
|
Post number of the parent post (the post that was replied to)
|
| parent_post_user |
(small)
|
|
|
| post_number |
Integer
|
|
|
| reply_count |
Integer
|
|
The number of replies to this post
|
| short_abstract |
|
|
|
| topic_id |
Integer
|
|
|
| updated_at |
Date
|
|
|
| user |
User
(small)
|
|
The user who authored the post
|
ForumPost
(export)
Attributes
| Name |
Type |
Nullable
|
Description |
| body |
|
|
|
| body_html |
|
|
|
| created_at |
Date
|
|
|
| deleted |
Boolean
|
|
If deleted, this flag will be set to true and the post body will contain a deletion message
|
| editable |
Boolean
|
|
True if the current user can edit this post
|
| id |
Integer
|
|
|
| parent_post_id |
Integer
|
Yes
|
Post ID of the parent post (the post that was replied to)
|
| parent_post_number |
Integer
|
Yes
|
Post number of the parent post (the post that was replied to)
|
| post_number |
Integer
|
|
|
| reply_count |
Integer
|
|
The number of replies to this post
|
| short_abstract |
|
|
|
| topic_id |
Integer
|
|
|
| updated_at |
Date
|
|
|
PatternLanguage
PatternLanguage
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
|
|
|
| id |
Integer
|
|
|
| language_id |
Integer
|
|
|
| pattern_id |
Integer
|
|
|
| updated_at |
|
|
|
PatternLanguage
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
|
|
|
| id |
Integer
|
|
|
| language |
Language
(list)
|
|
Language
|
| language_id |
Integer
|
|
|
| pattern_id |
Integer
|
|
|
| updated_at |
|
|
|
PatternLanguage
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| language_id |
Integer
|
|
|
ShopSchedule
ShopSchedule
(shop)
Attributes
| Name |
Type |
Nullable
|
Description |
| closed |
|
|
|
| closing_time |
Date
|
|
Closing time in local time. Note that a (useless) date is currently included but a timezone is not included.
|
| day_name |
|
|
|
| day_of_week |
|
|
|
| opening_time |
Date
|
|
Opening time in local time. Note that a (useless) date is currently included but a timezone is not included.
|
CombinedCart
CombinedCart
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| cart_items |
Array,
CartItem
(full)
|
|
Contents of the cart
|
| created_at |
Date
|
|
|
| created_by_user_id |
Integer
|
|
API user who created the cart
|
| id |
Integer
|
|
|
| shop_customer |
ShopCustomer
|
|
Customer associated with the cart
|
| updated_at |
Date
|
|
|
CombinedCart
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| shop_customer |
ShopCustomer
(POST)
|
|
Customer associated with the cart
|
Printing
Printing
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
|
| id |
Integer
|
|
|
| pattern_id |
Integer
|
|
|
| pattern_not_available |
Boolean
|
Yes
|
"true" if this pattern is not currently available from the source
|
| pattern_source |
PatternSource
|
|
|
| pattern_source |
PatternSource
(list)
|
|
|
| primary_source |
Boolean
|
Yes
|
"true" if this is the primary source for the pattern
|
Printing
(public)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
|
| id |
Integer
|
|
|
| pattern_id |
Integer
|
|
|
| pattern_source_id |
Integer
|
|
|
| primary_source |
Boolean
|
Yes
|
"true" if this is the primary source for the pattern
|
Printing
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| pattern_not_available |
Boolean
|
Yes
|
"true" if this pattern is not currently available from the source
|
| pattern_source_id |
Integer
|
|
|
| primary_source |
Boolean
|
Yes
|
"true" if this is the primary source for the pattern
|
ProductAttachment
ProductAttachment
Attributes
| Name |
Type |
Nullable
|
Description |
| document |
Array,
Document
|
|
Details about the attached file
|
| id |
Integer
|
|
Product attachment ID
|
| language_id |
Integer
|
|
Language ID
|
| product_id |
Integer
|
|
Product ID
|
ProductAttachment
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
Time when the record was created
|
| deleted |
|
|
|
| document |
Array,
Document
|
|
Details about the attached file
|
| id |
Integer
|
|
Product attachment ID
|
| language_id |
Integer
|
|
Language ID
|
| product_id |
Integer
|
|
Product ID
|
| sort_order |
Integer
|
|
Sort order
|
| updated_at |
Date
|
|
Time when the record was last updated
|
ProductAttachment
(receipt)
Attributes
| Name |
Type |
Nullable
|
Description |
| document |
Array,
Document
|
|
Details about the attached file
|
| id |
Integer
|
|
Product attachment ID
|
| product_id |
Integer
|
|
Product ID
|
| product_title |
|
|
|
ProductAttachment
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| language_id |
Integer
|
|
Language ID
|
| sort_order |
Integer
|
|
Sort order
|
DraftPatternSource
DraftPatternSource
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
DateTime
|
|
|
| draft_pattern_id |
Integer
|
|
|
| id |
Integer
|
|
|
| isbn |
String
|
Yes
|
|
| issue |
String
|
Yes
|
|
| name |
String
|
Yes
|
Draft pattern name
|
| notes |
|
|
|
| online |
Boolean
|
Yes
|
|
| out_of_print |
Boolean
|
Yes
|
|
| pattern_source |
PatternSource
(list)
|
Yes
|
|
| pattern_source_id |
Integer
|
Yes
|
|
| pattern_source_type_id |
Integer
|
Yes
|
|
| primary |
Boolean
|
Yes
|
|
| print |
Boolean
|
Yes
|
|
| published |
DateTime
|
Yes
|
|
| publisher_business_id |
Integer
|
Yes
|
The Pro account that the source belongs to
|
| ravelry_ebook |
Boolean
|
Yes
|
|
| ravelry_store |
Boolean
|
Yes
|
|
| source_group_name |
String
|
Yes
|
|
| updated_at |
DateTime
|
|
|
| url |
String
|
Yes
|
|
DraftPatternSource
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| issue |
String
|
Yes
|
|
| month_published |
DateTime
(POST)
|
Yes
|
Publication month. Day is ignored. (ex: 2022-05-01)
|
| name |
String
|
Yes
|
Draft pattern name
|
| pattern_source_id |
Integer
|
Yes
|
|
| pattern_source_type_id |
Integer
|
Yes
|
|
| publisher_business_id |
Integer
|
Yes
|
The Pro account that the source belongs to
|
| url |
String
|
Yes
|
|
SavedSearch
SavedSearch
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
|
| id |
Integer
|
|
Saved search ID
|
| last_loaded |
Date
|
|
The last time this search was run by the user
|
| search_parameters |
|
|
|
| search_path |
|
|
|
| search_type |
String
|
|
One of: groups, patterns, stash, people, yarns,
designers, projects, discussions, patternsources, events, fiberstashes
|
| subscribed |
Boolean
|
|
true if the user is "subscribed" to this search
|
| subscription_updated_at |
|
|
|
| title |
|
|
|
| updated_at |
Date
|
|
|
DraftPattern
DraftPattern
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
draft pattern ID
|
| name |
String
|
|
Draft pattern name
|
| permalink |
String
|
|
|
DraftPattern
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
|
|
|
| created_by_user |
(small)
|
|
|
| id |
Integer
|
|
draft pattern ID
|
| name |
String
|
|
Draft pattern name
|
| permalink |
String
|
|
|
| updated_at |
|
|
|
DraftPattern
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| craft_id |
Integer
|
|
|
| currency |
String
|
|
3 letter currency code
|
| downloadable |
Boolean
|
|
"true" if the pattern is available digitally for download (anywhere)
|
| draft_component_yarns |
Array,
DraftComponentYarn
(full)
|
|
|
| draft_errata_links |
Array,
DraftErrataLink
(full)
|
|
|
| draft_needle_sizes |
Array,
DraftNeedleSize
(full)
|
|
|
| draft_pattern_author_name |
String
|
|
|
| draft_pattern_sources |
Array,
DraftPatternSource
(full)
|
|
|
| draft_pattern_yarns |
Array,
DraftPatternYarn
(full)
|
|
|
| draft_use_default_pattern_author |
Boolean
|
|
|
| draft_yardage_units |
String
|
|
'M' for meters, 'Y' for yards
|
| free |
Boolean
|
|
|
| gauge |
String
|
|
|
| gauge_divisor |
String
|
|
|
| gauge_pattern |
String
|
|
|
| gauge_repeats |
String
|
|
|
| id |
Integer
|
|
draft pattern ID
|
| languages |
Array,
Language
(list)
|
|
|
| name |
String
|
|
Draft pattern name
|
| notes |
|
|
|
| notes_html |
String
|
|
Notes (rendered as HTML)
|
| only_available_with_yarn_purchase |
Boolean
|
|
"true" if the pattern is only available with the purchase of a yarn
|
| pattern_attributes |
Array,
PatternAttribute
(list)
|
|
|
| pattern_categories |
Array,
PatternCategory
(list)
|
|
|
| permalink |
String
|
|
|
| prerelease_pattern_code |
String
|
Yes
|
Tester code, for linking projects to a draft pattern, if any
|
| price |
Decimal
|
|
|
| published |
Date
|
|
|
| published_pattern_id |
Integer
|
Yes
|
ID of the published pattern that was created from this draft, if it has been published
|
| row_gauge |
Integer
|
|
|
| sizes_available |
String
|
|
Sizes available (free form text list of sizes)
|
| url |
String
|
|
Primary non-Ravelry URL for information about this pattern (if one exists)
|
| yardage_max |
Integer
|
|
|
| yardage_min |
Integer
|
|
|
| yarn_held_together |
Boolean
|
|
"true" if component yarns are all held together
|
| yarn_list_type |
Integer
|
|
1 = all of the listed yarns are used in the pattern, 2 = only
some of the listed yarns are used in the pattern (ie. the list contains
suggested/alternative yarns)
|
| yarn_weight_id |
Integer
|
|
|
DraftPattern
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| craft_id |
Integer
|
|
|
| currency |
String
|
|
3 letter currency code
|
| downloadable |
Boolean
|
|
"true" if the pattern is available digitally for download (anywhere)
|
| draft_business_id |
Integer
|
|
|
| draft_component_yarns |
Array,
DraftComponentYarn
(POST)
|
|
|
| draft_needle_sizes |
Array,
DraftNeedleSize
(POST)
|
|
|
| draft_pattern_author_name |
String
|
|
|
| draft_pattern_sources |
Array,
DraftPatternSource
(POST)
|
|
|
| draft_pattern_yarns |
Array,
DraftPatternYarn
(POST)
|
|
|
| draft_store_id |
Integer
|
Yes
|
Pattern store to associate with this pattern
|
| draft_yardage_units |
String
|
|
'M' for meters, 'Y' for yards
|
| free |
Boolean
|
|
|
| gauge |
String
|
|
|
| gauge_divisor |
String
|
|
|
| gauge_pattern |
String
|
|
|
| gauge_repeats |
String
|
|
|
| name |
String
|
|
Draft pattern name
|
| notes |
String
|
|
Notes (original/markdown format)
|
| only_available_with_yarn_purchase |
Boolean
|
|
"true" if the pattern is only available with the purchase of a yarn
|
| pattern_classifications |
Array,
PatternClassification
(POST)
|
|
|
| pattern_languages |
Array,
PatternLanguage
(POST)
|
|
|
| pattern_taggings |
Array,
PatternTagging
(POST)
|
|
|
| price |
Decimal
(POST)
|
|
|
| published |
Date
|
|
|
| row_gauge |
Integer
|
|
|
| sizes_available |
String
|
|
Sizes available (free form text list of sizes)
|
| url |
String
|
|
Primary non-Ravelry URL for information about this pattern (if one exists)
|
| yardage_max |
Integer
|
|
|
| yardage_min |
Integer
|
|
|
| yarn_held_together |
Boolean
|
|
"true" if component yarns are all held together
|
| yarn_list_type |
Integer
|
|
1 = all of the listed yarns are used in the pattern, 2 = only
some of the listed yarns are used in the pattern (ie. the list contains
suggested/alternative yarns)
|
| yarn_weight_id |
Integer
|
|
|
Collection
Collection
(medium)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| permalink |
String
|
|
|
| tag_names |
Array,
String
|
|
|
| title |
String
|
|
|
Activity
Activity
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| activity_type_id |
Integer
|
|
Activity type ID. A textual description is provided in activity_type_key
|
| activity_type_key |
String
|
|
String key for this activity type. ("added_project_photo", "queued_pattern", etc)
|
| created_at |
Date
|
|
Date/time of activity
|
| descriptive_title |
String
|
|
Name/title of the target with a qualifier (example: "Smith faved Neo's Hat")
|
| id |
Integer
|
|
Activity identifier
|
| photo |
Photo
(small)
|
|
The photo associated with the activity
|
| target_id |
Integer
|
|
The target object associated with the activity (the
target of "added_project_photo" is a Project, the target of
"queued_pattern" is a QueuedProject, etc)
|
| target_id |
Integer
|
|
The target object associated with the activity (the
target of "added_project_photo" is a Project, the target of
"queued_pattern" is a QueuedProject, etc)
|
| target_uri |
String
|
|
URI for retrieving the target information. (Example: /projects/janesmith/mittens.json)
|
| title |
String
|
|
Name/title of the target
|
| user |
User
(small)
|
|
The user that performed the activity
|
NeedleType
NeedleType
Attributes
| Name |
Type |
Nullable
|
Description |
| description |
|
|
|
| id |
|
|
|
| length |
|
|
|
| metric_name |
|
|
|
| name |
|
|
|
| needle_size_id |
|
|
|
| type_name |
|
|
|
NeedleType
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| description |
|
|
|
| id |
|
|
|
| length |
|
|
|
| metric_name |
|
|
|
| name |
|
|
|
| needle_size_id |
|
|
|
| type_name |
|
|
|
StashStatus
StashStatus
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| name |
|
|
|
Message
Message
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| message_type_name |
String
|
|
|
| parent_message_id |
Integer
|
Yes
|
ID of the parent message, if this message is a reply
|
| read_message |
Boolean
|
|
True if the message has been read
|
| recipient |
User
|
|
Message recipient
|
| replied |
Boolean
|
|
True the recipient replied to this message
|
| replied_at |
Date
|
Yes
|
Date a reply was sent
|
| sender |
User
|
|
Message sender
|
| sent_at |
Date
|
|
|
| subject |
String
|
|
Message subject
|
Message
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| content_html |
|
|
|
| folder_name |
String
|
|
|
| id |
Integer
|
|
|
| message_type_name |
String
|
|
|
| parent_message_id |
Integer
|
Yes
|
ID of the parent message, if this message is a reply
|
| read_message |
Boolean
|
|
True if the message has been read
|
| recipient |
User
|
|
Message recipient
|
| replied |
Boolean
|
|
True the recipient replied to this message
|
| replied_at |
Date
|
Yes
|
Date a reply was sent
|
| sender |
User
|
|
Message sender
|
| sent_at |
Date
|
|
|
| subject |
String
|
|
Message subject
|
Message
(export)
Attributes
| Name |
Type |
Nullable
|
Description |
| content_html |
|
|
|
| folder_name |
String
|
|
|
| id |
Integer
|
|
|
| message_type_name |
String
|
|
|
| parent_message_id |
Integer
|
Yes
|
ID of the parent message, if this message is a reply
|
| read_message |
Boolean
|
|
True if the message has been read
|
| recipient |
User
|
|
Message recipient
|
| replied |
Boolean
|
|
True the recipient replied to this message
|
| replied_at |
Date
|
Yes
|
Date a reply was sent
|
| sender |
User
|
|
Message sender
|
| sent_at |
Date
|
|
|
| subject |
String
|
|
Message subject
|
Message
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| content |
String
|
|
Message body. Markdown and limited HTML is supported. (TODO: Rich Content documentation)
|
| recipient_user_id |
Integer
|
Yes
|
User to deliver the message to. One of recipient_user_id or recipient_login is required.
|
| recipient_username |
Integer
|
Yes
|
User to deliver the message to. One of recipient_user_id or recipient_username is required.
|
| subject |
String
|
|
Message subject
|
Friendship
Friendship
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
Creation date
|
| friend_avatar |
Hash
|
|
Hash containing a large_photo_url (240x240 image), photo_url (100x100 image) and tiny_photo_url (25x25 image)
|
| friend_id |
|
|
|
| friend_user_id |
Integer
|
|
User ID of the friend
|
| friend_username |
User
|
|
Friend user name
|
| id |
Integer
|
|
ID of this friendship record
|
| tag_names |
Array,
String
|
|
List of user defined tag names
|
Friendship
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
Creation date
|
| friend_avatar |
Hash
|
|
Hash containing a large_photo_url (240x240 image), photo_url (100x100 image) and tiny_photo_url (25x25 image)
|
| friend_user |
User
|
|
Complete user record for the friend
|
| friend_user_id |
Integer
|
|
User ID of the friend
|
| friend_username |
User
|
|
Friend user name
|
| id |
Integer
|
|
ID of this friendship record
|
| tag_names |
Array,
String
|
|
List of user defined tag names
|
VolumeAttachment
VolumeAttachment
Attributes
| Name |
Type |
Nullable
|
Description |
| bytes |
Integer
|
|
Size of the attached file in bytes
|
| content_type |
String
|
|
Content type of the attached file. Currently only "application/pdf" is supported.
|
| filename |
String
|
|
Name of the attached file.
|
| language_code |
String
|
Yes
|
Language of the document, if available. ISO 639 language code
|
| notes |
String
|
Yes
|
Notes added by the file's uploader/seller. Generally blank or an
explanation of file contents if a product includes more than one file.
|
| product_attachment_id |
Integer
|
|
Use the product attachment ID with
/product_attachment/{id}/generate_download_link.json to get a direct
link to this PDF.
|
| ravelry_download_url |
String
|
|
Ravelry URL that a user can view in a browser in order to
download the file. Requires a normal Ravelry session / authentication
(ie. username/password)
|
| thumbnail_url |
String
|
|
URL to a thumbnail of the file. Thumbnails are 150 pixels high. PDF thumbnails are typically 116 x 150.
|
UserSite
UserSite
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| social_site |
SocialSite
|
|
Details about the external site
|
| url |
String
|
|
URL to profile page on an external site
|
| username |
String
|
|
Username on an external site
|
UserSite
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| social_site |
SocialSite
|
|
Details about the external site
|
| url |
String
|
|
URL to profile page on an external site
|
| username |
String
|
|
Username on an external site
|
FiberAttribute
FiberAttribute
Attributes
| Name |
Type |
Nullable
|
Description |
| fiber_attribute_group_id |
Integer
|
|
|
| id |
Integer
|
|
|
| name |
String
|
|
Short category name
|
| permalink |
String
|
|
|
FiberAttributeGroup
FiberAttributeGroup
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| name |
String
|
|
Short category name
|
| parent_id |
Integer
|
|
|
| permalink |
String
|
|
|
SocialSite
SocialSite
Attributes
| Name |
Type |
Nullable
|
Description |
| active |
Boolean
|
|
True if the site is currently shown on Ravelry profile pages
|
| favicon_url |
|
|
|
| id |
Integer
|
|
|
| name |
String
|
|
Name of the site
|
Yarn
Yarn
Attributes
| Name |
Type |
Nullable
|
Description |
| certified_organic |
Boolean
|
|
|
| discontinued |
Boolean
|
|
|
| first_photo |
Photo
|
|
|
| gauge_divisor |
Integer
|
|
|
| grams |
Integer
|
|
weight of a skein/ball of the yarn in grams
|
| id |
Integer
|
|
|
| machine_washable |
Boolean
|
|
|
| max_gauge |
Integer
|
|
|
| min_gauge |
Integer
|
|
|
| name |
String
|
|
|
| organic |
|
|
|
| permalink |
String
|
|
|
| rating_average |
Float
|
|
|
| rating_count |
Integer
|
|
|
| rating_total |
Integer
|
|
|
| texture |
String
|
|
(obsolete, this has been superseded by yarn attributes)
|
| thread_size |
|
|
|
| wpi |
Integer
|
|
wraps per inch
|
| yardage |
Integer
|
|
|
| yarn_company_name |
String
|
|
|
| yarn_weight |
YarnWeight
(list)
|
|
|
Yarn
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| certified_organic |
Boolean
|
|
|
| discontinued |
Boolean
|
|
|
| first_photo |
Photo
|
|
|
| gauge_divisor |
Integer
|
|
|
| grams |
Integer
|
|
weight of a skein/ball of the yarn in grams
|
| id |
Integer
|
|
|
| machine_washable |
Boolean
|
|
|
| max_gauge |
Integer
|
|
|
| min_gauge |
Integer
|
|
|
| name |
String
|
|
|
| organic |
|
|
|
| permalink |
String
|
|
|
| personal_attributes |
Hash
|
|
Hash containing information related to this yarn's
status in the current user's notebook (favorited, bookmark_id,
stash_ids)
|
| rating_average |
Float
|
|
|
| rating_count |
Integer
|
|
|
| rating_total |
Integer
|
|
|
| texture |
String
|
|
(obsolete, this has been superseded by yarn attributes)
|
| thread_size |
|
|
|
| wpi |
Integer
|
|
wraps per inch
|
| yardage |
Integer
|
|
|
| yarn_company_name |
String
|
|
|
| yarn_weight |
YarnWeight
(list)
|
|
|
Yarn
(stash_list)
Attributes
| Name |
Type |
Nullable
|
Description |
| certified_organic |
Boolean
|
|
|
| discontinued |
Boolean
|
|
|
| gauge_divisor |
Integer
|
|
|
| grams |
Integer
|
|
weight of a skein/ball of the yarn in grams
|
| id |
Integer
|
|
|
| machine_washable |
Boolean
|
|
|
| max_gauge |
Integer
|
|
|
| min_gauge |
Integer
|
|
|
| name |
String
|
|
|
| notes_html_deprecated |
|
|
|
| organic |
|
|
|
| permalink |
String
|
|
|
| photos_deprecated |
|
|
|
| rating_average |
Float
|
|
|
| rating_count |
Integer
|
|
|
| rating_total |
Integer
|
|
|
| texture |
String
|
|
(obsolete, this has been superseded by yarn attributes)
|
| thread_size |
|
|
|
| wpi |
Integer
|
|
wraps per inch
|
| yardage |
Integer
|
|
|
| yarn_company |
YarnCompany
(list)
|
|
|
| yarn_company_name |
String
|
|
|
| yarn_weight |
YarnWeight
(list)
|
|
|
Yarn
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| certified_organic |
Boolean
|
|
|
| discontinued |
Boolean
|
|
|
| gauge_divisor |
Integer
|
|
|
| grams |
Integer
|
|
weight of a skein/ball of the yarn in grams
|
| id |
Integer
|
|
|
| machine_washable |
Boolean
|
|
|
| max_gauge |
Integer
|
|
|
| max_hook_size |
|
|
|
| max_needle_size |
|
|
|
| min_gauge |
Integer
|
|
|
| min_hook_size |
|
|
|
| min_needle_size |
|
|
|
| name |
String
|
|
|
| notes_html |
String
|
|
|
| organic |
|
|
|
| permalink |
String
|
|
|
| personal_attributes |
Hash
|
|
Hash containing information related to this yarn's
status in the current user's notebook (favorited, bookmark_id,
stash_ids)
|
| photos |
Array,
Photo
(full)
|
|
|
| rating_average |
Float
|
|
|
| rating_count |
Integer
|
|
|
| rating_total |
Integer
|
|
|
| texture |
String
|
|
(obsolete, this has been superseded by yarn attributes)
|
| thread_size |
|
|
|
| wpi |
Integer
|
|
wraps per inch
|
| yardage |
Integer
|
|
|
| yarn_attributes |
Array,
YarnAttribute
(full)
|
|
Yarn attributes. Examples: "Superwash", "Gradient".
|
| yarn_company |
YarnCompany
(full)
|
|
|
| yarn_fibers |
Array,
YarnFiber
(full)
|
|
|
| yarn_provenance |
Array,
YarnProvenance
(full)
|
|
Yarn provenance/origin records containing both a
location and information about what was done at that location. Examples:
"Dyed at (location)", "Milled in (location)".
|
| yarn_weight |
YarnWeight
(full)
|
|
|
Yarn
(public)
Attributes
| Name |
Type |
Nullable
|
Description |
| certified_organic |
Boolean
|
|
|
| discontinued |
Boolean
|
|
|
| gauge_divisor |
Integer
|
|
|
| grams |
Integer
|
|
weight of a skein/ball of the yarn in grams
|
| id |
Integer
|
|
|
| machine_washable |
Boolean
|
|
|
| max_gauge |
Integer
|
|
|
| max_hook_size |
|
|
|
| max_needle_size |
|
|
|
| min_gauge |
Integer
|
|
|
| min_hook_size |
|
|
|
| min_needle_size |
|
|
|
| name |
String
|
|
|
| notes_html |
String
|
|
|
| permalink |
String
|
|
|
| texture |
String
|
|
(obsolete, this has been superseded by yarn attributes)
|
| thread_size |
|
|
|
| wpi |
Integer
|
|
wraps per inch
|
| yardage |
Integer
|
|
|
| yarn_attribute_ids |
|
|
|
| yarn_attribute_ids |
|
|
|
| yarn_attributes |
Array,
YarnAttribute
(public)
|
|
Yarn attributes. Examples: "Superwash", "Gradient".
|
| yarn_company_id |
|
|
|
| yarn_fibers |
Array,
YarnFiber
(public)
|
|
|
| yarn_weight_id |
|
|
|
Yarn
(oembed)
Attributes
| Name |
Type |
Nullable
|
Description |
| currency_code |
|
|
|
| name |
String
|
|
|
| price |
|
|
|
| title |
|
|
|
| url |
|
|
|
Bookmark
Bookmark
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| comment |
String
|
|
User defined comment
|
| created_at |
Date
|
|
|
| favorited |
Object
|
|
The default output format for the favorited item is nested inside the result
|
| id |
Integer
|
|
Favorite ID
|
| tag_list |
String
|
Yes
|
Space delimited list of tags (tags cannot contain commas)
|
| type |
String
|
|
The type of item that was favorited. One of: project,
pattern, yarn, stash, forumpost, designer, yarnbrand, yarnshop
|
Bookmark
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| bundles |
Bundle
(list)
|
|
The bundles that this favorite is a member of
|
| comment |
String
|
|
User defined comment
|
| created_at |
Date
|
|
|
| favorited |
Object
|
|
The default output format for the favorited item is nested inside the result
|
| id |
Integer
|
|
Favorite ID
|
| tag_list |
String
|
Yes
|
Space delimited list of tags (tags cannot contain commas)
|
| type |
String
|
|
The type of item that was favorited. One of: project,
pattern, yarn, stash, forumpost, designer, yarnbrand, yarnshop
|
Bookmark
(export)
Attributes
| Name |
Type |
Nullable
|
Description |
| bundles |
Bundle
(list)
|
|
The bundles that this favorite is a member of
|
| comment |
String
|
|
User defined comment
|
| created_at |
Date
|
|
|
| favorited |
Object
|
|
The default output format for the favorited item is nested inside the result
|
| id |
Integer
|
|
Favorite ID
|
| tag_list |
String
|
Yes
|
Space delimited list of tags (tags cannot contain commas)
|
| type |
String
|
|
The type of item that was favorited. One of: project,
pattern, yarn, stash, forumpost, designer, yarnbrand, yarnshop
|
Bookmark
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| comment |
String
|
|
User defined comment
|
| favorited_id |
String
|
|
The ID of the item that was favorited. May only be set during creation.
|
| tag_list |
String
|
Yes
|
List of tags, space delimited
|
| type |
String
|
|
The type of item that was favorited. One of: project,
pattern, yarn, stash, forumpost, designer, yarnbrand, yarnshop. May only
be set during creation.
|
PatternClassification
PatternClassification
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| pattern_category_id |
Integer
|
|
|
| pattern_id |
Integer
|
|
|
PatternClassification
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| pattern_category |
Array,
PatternCategory
(list)
|
|
Pattern category
|
| pattern_category_id |
Integer
|
|
|
| pattern_id |
Integer
|
|
|
PatternClassification
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| pattern_category_id |
Integer
|
|
|
ShopCustomer
ShopCustomer
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
Date and time that the customer record was created
|
| customer_reference |
String
|
Yes
|
Usable by API clients - storage for reference
information such as your customer ID, etc. Max length is 255 characters.
|
| email_address |
String
|
Yes
|
Customer email
|
| id |
|
|
|
| name |
String
|
Yes
|
Customer name
|
| shop |
Shop
(tiny)
|
Yes
|
The shop that the customer record is associated with
|
| user |
User
(small)
|
Yes
|
The customer's Ravelry account
|
| user_id |
String
|
Yes
|
Customer's user ID
|
ShopCustomer
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| created_at |
Date
|
|
Date and time that the customer record was created
|
| customer_reference |
String
|
Yes
|
Usable by API clients - storage for reference
information such as your customer ID, etc. Max length is 255 characters.
|
| email_address |
String
|
Yes
|
Customer email
|
| id |
|
|
|
| name |
String
|
Yes
|
Customer name
|
| shop |
Shop
(tiny)
|
Yes
|
The shop that the customer record is associated with
|
| user |
User
(small)
|
Yes
|
The customer's Ravelry account
|
| user_id |
String
|
Yes
|
Customer's user ID
|
ShopCustomer
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| email_address |
String
|
Yes
|
Customer email
|
| name |
String
|
Yes
|
Customer name
|
| user_id |
String
|
Yes
|
Customer's user ID
|
User
User
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| large_photo_url |
|
|
|
| photo_url |
|
|
|
| small_photo_url |
|
|
|
| tiny_photo_url |
|
|
|
| username |
|
|
|
User
(small)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
|
|
|
| large_photo_url |
|
|
|
| photo_url |
|
|
|
| profile_country_code |
|
|
|
| small_photo_url |
|
|
|
| tiny_photo_url |
|
|
|
| username |
|
|
|
User
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| about_me_html |
|
|
|
| about_me |
|
|
|
| fave_colors |
|
|
|
| fave_curse |
|
|
|
| first_name |
|
|
|
| id |
|
|
|
| large_photo_url |
|
|
|
| location |
|
|
|
| pattern_author |
PatternAuthor
(for_user)
|
|
The designer that is linked to this user
|
| photo_url |
|
|
|
| profile_country_code |
|
|
|
| small_photo_url |
|
|
|
| tiny_photo_url |
|
|
|
| user_sites |
UserSite
(full)
|
|
Information about external social/etc sites that the user has added to their profile
|
| username |
|
|
|
User
(export)
Attributes
| Name |
Type |
Nullable
|
Description |
| about_me_html |
|
|
|
| about_me |
|
|
|
| fave_colors |
|
|
|
| fave_curse |
|
|
|
| first_name |
|
|
|
| id |
|
|
|
| large_photo_url |
|
|
|
| location |
|
|
|
| pattern_author |
PatternAuthor
(for_user)
|
|
The designer that is linked to this user
|
| photo_url |
|
|
|
| profile_country_code |
|
|
|
| small_photo_url |
|
|
|
| tiny_photo_url |
|
|
|
| user_sites |
UserSite
(full)
|
|
Information about external social/etc sites that the user has added to their profile
|
| username |
|
|
|
User
(POST)
Attributes
| Name |
Type |
Nullable
|
Description |
| about_me |
String
|
Yes
|
"About me" text. Can contain markdown and/or HTML
|
| fave_colors |
|
|
|
| fave_curse |
|
|
|
| first_name |
|
|
|
PatternAuthor
PatternAuthor
Attributes
| Name |
Type |
Nullable
|
Description |
| crochet_pattern_count |
Integer
|
|
Number of crochet patterns attributed to the designer
|
| favorites_count |
Integer
|
|
Number of times the designer has been favorited
|
| id |
Integer
|
|
|
| knitting_pattern_count |
Integer
|
|
Number of knitting patterns attributed to the designer
|
| name |
String
|
|
Designer's full name or alias
|
| patterns_count |
Integer
|
|
Number of patterns attributed to the designer
|
| permalink |
String
|
|
|
| users |
Array,
User
(small)
|
|
User accounts linked to this designer
|
PatternAuthor
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| crochet_pattern_count |
Integer
|
|
Number of crochet patterns attributed to the designer
|
| favorites_count |
Integer
|
|
Number of times the designer has been favorited
|
| id |
Integer
|
|
|
| knitting_pattern_count |
Integer
|
|
Number of knitting patterns attributed to the designer
|
| name |
String
|
|
Designer's full name or alias
|
| notes |
|
|
|
| notes_html |
|
|
|
| patterns_count |
Integer
|
|
Number of patterns attributed to the designer
|
| permalink |
String
|
|
|
| users |
Array,
User
(full)
|
|
User accounts linked to this designer
|
PatternAuthor
(public)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| name |
String
|
|
Designer's full name or alias
|
| permalink |
String
|
|
|
PatternAuthor
(for_user)
Attributes
| Name |
Type |
Nullable
|
Description |
| favorites_count |
Integer
|
|
Number of times the designer has been favorited
|
| id |
Integer
|
|
|
| name |
String
|
|
Designer's full name or alias
|
| patterns_count |
Integer
|
|
Number of patterns attributed to the designer
|
| permalink |
String
|
|
|
Payment
Payment
Attributes
| Name |
Type |
Nullable
|
Description |
| gross |
Decimal
|
|
Gross amount of the payment
|
| id |
Integer
|
|
Payment ID
|
| txn_id |
Integer
|
|
PayPal transaction ID
|
| txn_type |
String
|
|
PayPal txn_type (will typically be "express_checkout")
|
Payment
(sale)
Attributes
| Name |
Type |
Nullable
|
Description |
| gross |
Decimal
|
|
Gross amount of the payment
|
| id |
Integer
|
|
Payment ID
|
| txn_id |
Integer
|
|
PayPal transaction ID
|
| txn_type |
String
|
|
PayPal txn_type (will typically be "express_checkout")
|
Colorway
Colorway
Attributes
| Name |
Type |
Nullable
|
Description |
| code |
String
|
Yes
|
Code, for yarns with numeric/etc colorway codes
|
| id |
Integer
|
|
|
| name |
String
|
|
|
| yarn_id |
Integer
|
|
|
Colorway
(full)
Attributes
| Name |
Type |
Nullable
|
Description |
| code |
String
|
Yes
|
Code, for yarns with numeric/etc colorway codes
|
| id |
Integer
|
|
|
| name |
String
|
|
|
| photo_url |
|
|
|
| projects_count |
Integer
|
|
Number of projects using this colorway
|
| stashes_count |
Integer
|
|
Number of stashes using this colorway
|
| usage_count |
|
|
|
| yarn_id |
Integer
|
|
|
Craft
Craft
(list)
Attributes
| Name |
Type |
Nullable
|
Description |
| id |
Integer
|
|
|
| name |
String
|
|
|
| permalink |
String
|
|
|
Cross-Origin Resource Sharing (CORS)
CORS headers are set when making requests to api.ravelry.com
-
If your Authorization header includes a valid OAuth2 token,
Access-Control-Allow-Origin is set to your list of redirect URIs
-
If you are using a different type of token or you are making a
preflight OPTIONS request, Access-Control-Allow-Origin will match the
Origin of your request
-
If something is wrong, Access-Control-Allow-Origin is set to this page.
Make sure that you are requesting a JSON document from api.ravelry.com
and that you are using a valid API key.
automatically generated Last updated 2026-03-30